1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-23 15:00:27 +00:00

Fix jpm stupid bug.

This commit is contained in:
Calvin Rose 2019-07-19 17:01:50 -05:00
parent e0fe8476aa
commit 529b34d84e

View File

@ -298,7 +298,7 @@
(def- filepath-replacer
"Convert url with potential bad characters into a file path element."
(peg/compile ~(% (+ (/ '(set "<>:\"/\\|?*") "_") '1))))
(peg/compile ~(% (* (+ (/ '(set "<>:\"/\\|?*") "_") '2)))))
(defn repo-id
"Convert a repo url into a path component that serves as its id."