minor bug fix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-11-26 01:13:15 +03:00
parent 3da80bb75c
commit 597129c5a0
2 changed files with 3 additions and 3 deletions

View File

@ -119,7 +119,7 @@ Object.assign(
'\\d+\\.\\d+|\\d+',
// identifiers...
'[a-zA-Z$@#_][a-zA-Z0-9$@#_-\\.]*',
'[a-zA-Z$@#_][a-zA-Z0-9$@#_\\-\\.]*',
// rest args...
'\\.\\.\\.',
@ -136,7 +136,7 @@ Object.assign(
new parseStringAction.Argument(e.slice(1))
// idetifiers...
// NOTE: keep this last as it is the most general...
: /^[a-zA-Z$@#_][a-zA-Z0-9$@#_-\.]*$/.test(e) ?
: /^[a-zA-Z$@#_][a-zA-Z0-9$@#_\-\.]*$/.test(e) ?
new parseStringAction.Identifier(e)
: JSON.parse(e) })

View File

@ -1,6 +1,6 @@
{
"name": "ig-actions",
"version": "3.24.17",
"version": "3.24.18",
"description": "",
"main": "actions.js",
"scripts": {