fix `raco link' collection-name checking
This commit is contained in:
parent
5d27959c57
commit
5579b12da0
|
@ -16,7 +16,7 @@
|
||||||
#:repair? [repair? #f]
|
#:repair? [repair? #f]
|
||||||
. dirs)
|
. dirs)
|
||||||
(define (check-name name)
|
(define (check-name name)
|
||||||
(unless (and (regexp-match #rx"^[a-zA-z+_%-]+$" name)
|
(unless (and (regexp-match #rx"^[a-zA-z0-9+_%-]+$" name)
|
||||||
(module-path? name))
|
(module-path? name))
|
||||||
(error 'links "name is not valid as a top-level collection name: ~e"
|
(error 'links "name is not valid as a top-level collection name: ~e"
|
||||||
name)))
|
name)))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user