File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -294,7 +294,9 @@ Return a JSON object."
294
294
(unless project-directory (setq project-directory default-directory))
295
295
(swift-mode:call-process-to-json
296
296
swift-mode:swift-package-executable
297
- " --package-path" project-directory " describe" " --type" " json" ))
297
+ " --package-path" (expand-file-name project-directory)
298
+ " describe"
299
+ " --type" " json" ))
298
300
299
301
(defun swift-mode:read-main-module (project-directory )
300
302
" Read the main module description from the manifest file Package.swift.
@@ -560,7 +562,7 @@ An list ARGS are appended for builder command line arguments."
560
562
(zerop
561
563
(apply #'swift-mode:call-process
562
564
swift-mode:swift-build-executable
563
- " --package-path" project-directory
565
+ " --package-path" ( expand-file-name project-directory)
564
566
args))
565
567
(compilation-mode )
566
568
(goto-char (point-min ))
You can’t perform that action at this time.
0 commit comments