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
Node version (or tell us if you're using electron or some other framework):
not relevant
ShellJS version (the most recent version/Github branch you see the bug on):
v0.5.8
Operating system:
not relevant
Description of the bug:
The current implementation of cd.js is swallowing the actual error. The exception caught in line 27 (e) is not logged nor used further in the the error handling. This hides errors such as chdir not supported in worker threads or other causes not covered by the current handling error code in this file.
Example ShellJS command to reproduce the error:
Not needed as this is just an observation on the code.
The text was updated successfully, but these errors were encountered:
Node version (or tell us if you're using electron or some other framework):
not relevant
ShellJS version (the most recent version/Github branch you see the bug on):
v0.5.8
Operating system:
not relevant
Description of the bug:
The current implementation of
cd.js
is swallowing the actual error. The exception caught in line 27 (e
) is not logged nor used further in the the error handling. This hides errors such aschdir not supported in worker threads
or other causes not covered by the current handling error code in this file.Example ShellJS command to reproduce the error:
Not needed as this is just an observation on the code.
The text was updated successfully, but these errors were encountered: