Skip to content

Commit

Permalink
Fix command line option for debugging swift module
Browse files Browse the repository at this point in the history
  • Loading branch information
iT-Boyer authored and taku0 committed Jun 3, 2023
1 parent 3efd087 commit 83b691d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swift-mode-repl.el
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ Return a JSON object."
(unless project-directory (setq project-directory default-directory))
(swift-mode:call-process-to-json
swift-mode:swift-package-executable
"--chdir" project-directory "describe" "--type" "json"))
"--package-path" project-directory "describe" "--type" "json"))

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

0 comments on commit 83b691d

Please sign in to comment.