mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-07-19 22:18:03 +00:00
Added functionality to save and import shell scripts (#37)
This commit is contained in:
@ -24,8 +24,5 @@ export function looseJsonIsValid(json) {
|
||||
}
|
||||
|
||||
export function stringCouldBeID(string) {
|
||||
if (looseJsonIsValid(string)) {
|
||||
return false;
|
||||
}
|
||||
return /^[a-zA-Z0-9_-]{1,}$/.test(string);
|
||||
}
|
||||
|
Reference in New Issue
Block a user