Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1689

goto compat issue makes all node/npm wrapper scripts fail to run...

$
0
0
goto does not seem to set error code status.

Code:
goto Really 2>NUL || echo ... Yeah... Really

Under TCC (28.01.14 x64 - but happening for a long time) this batch file will only print 'Really'.

Run with cmd and the RHS of the || executes.

For reference here is the scenario.
Any command line tool install with npm for a node project will install a .cmd wrapper. That .cmd wrapper will have a line that does the final tool exec like this one for the typescript compiler):

Code:
endLocal &...

Read more

Viewing all articles
Browse latest Browse all 1689

Trending Articles