Skip to content

Commit 83b691d

Browse files
iT-Boyertaku0
authored andcommitted
Fix command line option for debugging swift module
1 parent 3efd087 commit 83b691d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift-mode-repl.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ Return a JSON object."
280280
(unless project-directory (setq project-directory default-directory))
281281
(swift-mode:call-process-to-json
282282
swift-mode:swift-package-executable
283-
"--chdir" project-directory "describe" "--type" "json"))
283+
"--package-path" project-directory "describe" "--type" "json"))
284284

285285
(defun swift-mode:read-main-module (project-directory)
286286
"Read the main module description from the manifest file Package.swift.

0 commit comments

Comments
 (0)