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:
parent
e0fe8476aa
commit
529b34d84e
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user