branch: elpa/swift-mode
commit 83b691db601afaa09f0da48f20cdb399086823e2
Author: iTBoyer <itbo...@qq.com>
Commit: taku0 <mxxouy6x3m_git...@tatapa.org>

    Fix command line option for debugging swift module
---
 swift-mode-repl.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/swift-mode-repl.el b/swift-mode-repl.el
index 1ae7a77d3a..b9503ad3b9 100644
--- a/swift-mode-repl.el
+++ b/swift-mode-repl.el
@@ -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.

Reply via email to