1
0
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:
2023-07-19 20:01:15 +02:00
parent ae5002d356
commit 9d577ac429
8 changed files with 176 additions and 39 deletions

View File

@ -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);
}