1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-25 22:53:16 +00:00

Fix typo in jpm.

This commit is contained in:
Calvin Rose 2020-03-25 21:01:54 -05:00
parent b8c1c1c144
commit 6721c70b9e

View File

@ -686,7 +686,7 @@ int main(int argc, const char **argv) {
(os/cd (find-manifest-dir)) (os/cd (find-manifest-dir))
(defer (os/cd cwd) (defer (os/cd cwd)
(each man (os/dir ".") (each man (os/dir ".")
(def package (parse slurp man)) (def package (parse (slurp man)))
(if (or (not package :repo) (not package :sha)) (if (or (not package :repo) (not package :sha))
(print "Cannot add local package " man " to lockfile, skipping...") (print "Cannot add local package " man " to lockfile, skipping...")
(array/push packages package)) (array/push packages package))