The regex check on line 279 never stuck, due to it testing for \n, instead of the escaped string version.
Changes:
fixed the regex check
aligned the test with the other conditions for consistency
Reproduce:
use vscode ms-vscode-remote.remote-containers extension, to run it in a fresh container -> this will require accepting the license, and throw the error.
I've added a temporary run.js locally, where I execute the package and attach to it via node debugger in vscode. (breakpoint line 277). Then its fairly clear that the regex that supposedly should clear the error, does not work.
This fixes #117
The regex check on line 279 never stuck, due to it testing for
\n
, instead of the escaped string version.Changes:
Reproduce: use vscode
ms-vscode-remote.remote-containers
extension, to run it in a fresh container -> this will require accepting the license, and throw the error.I've added a temporary
run.js
locally, where I execute the package and attach to it via node debugger in vscode. (breakpoint line 277). Then its fairly clear that the regex that supposedly should clear the error, does not work.