You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to parse script
Unable to identify parsing failure (please include your full script in the bug report)
Please file a bug report at https://github.com/nfischer/shelljs-transpiler
Tested with versions
/usr/share/misc/config.guess:timestamp='2013-06-10'
/usr/share/misc/config.sub:timestamp='2013-08-10'
and
config.guess:timestamp='2018-01-11'
config.sub:timestamp='2018-01-11'
Yeah, that doesn't surprise me. ShellJS doesn't have great sed support (it only implements the s/ mode). The most reasonable fix would be for the transpiler to detect this and to fallback to shell.exec('sed ...') for non-s/ commands.
PRs are welcome, but I probably won't get to fixing this myself for a while.
The transpiler is far from complete, so we can't actually handle a script as complex as the ones you've linked to.
Symptoms:
Unable to parse script
Unable to identify parsing failure (please include your full script in the bug report)
Please file a bug report at https://github.com/nfischer/shelljs-transpiler
Tested with versions
/usr/share/misc/config.guess:timestamp='2013-06-10'
/usr/share/misc/config.sub:timestamp='2013-08-10'
and
config.guess:timestamp='2018-01-11'
config.sub:timestamp='2018-01-11'
Current versions can be found at:
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
The text was updated successfully, but these errors were encountered: