mirror of
https://github.com/janet-lang/janet
synced 2024-11-15 13:14:48 +00:00
Fix jpm stupid bug.
This commit is contained in:
parent
e0fe8476aa
commit
529b34d84e
@ -298,7 +298,7 @@
|
|||||||
|
|
||||||
(def- filepath-replacer
|
(def- filepath-replacer
|
||||||
"Convert url with potential bad characters into a file path element."
|
"Convert url with potential bad characters into a file path element."
|
||||||
(peg/compile ~(% (+ (/ '(set "<>:\"/\\|?*") "_") '1))))
|
(peg/compile ~(% (* (+ (/ '(set "<>:\"/\\|?*") "_") '2)))))
|
||||||
|
|
||||||
(defn repo-id
|
(defn repo-id
|
||||||
"Convert a repo url into a path component that serves as its id."
|
"Convert a repo url into a path component that serves as its id."
|
||||||
|
Loading…
Reference in New Issue
Block a user