Skip to content

Commit 8a7481b

Browse files
authored
look for spago.yaml and add --quiet flag (#32)
1 parent 9bb6a32 commit 8a7481b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

psci.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ When FILENAME is nil or not a real file, returns nil."
123123
(cond
124124
((file-exists-p "psc-package.json")
125125
(process-lines (psci--executable-find-relative psci/psc-package-path) "sources"))
126-
((file-exists-p "spago.dhall")
127-
(process-lines (psci--executable-find-relative psci/spago-path) "sources"))))
126+
((or (file-exists-p "spago.dhall") (file-exists-p "spago.yaml"))
127+
(process-lines (psci--executable-find-relative psci/spago-path) "sources" "--quiet"))))
128128

129129
(defun psci--executable-find-relative (path)
130130
"If PATH is a relative path to an executable, return its full path.

0 commit comments

Comments
 (0)