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
Description
command results in error, but completes as if successful
Steps to reproduce
touch empty.js && npx source-map-explorer empty.js && echo 'bug: process ended with non-zero exit code'
empty.js
Unable to find a source map.
See https://github.com/danvk/source-map-explorer/blob/master/README.md#generating-source-maps
bug: process ended with non-zero exit code
Files to reproduce
no files needed
Expected behavior
When a fatal error is encountered, it should exit the process with a non-zero exit code
Environment
OS: ubuntu
source-map-explorer Version: 2.3.1
Additional context
Other errors like failing to find the reference sourcemap file should result in a non-zero exit code
npx source-map-explorer dist/chrome/common.js && echo 'bug: process ended with non-zero exit code'
dist/chrome/common.js
An error occurred while trying to read the map file at /home/xyz/Development/metamask-extension2/dist/sourcemaps/common.js.map
Error: ENOENT: no such file or directory, open '/home/xyz/Development/metamask-extension2/dist/sourcemaps/common.js.map'
bug: process ended with non-zero exit code
The text was updated successfully, but these errors were encountered:
Description
command results in error, but completes as if successful
Steps to reproduce
Files to reproduce
no files needed
Expected behavior
When a fatal error is encountered, it should exit the process with a non-zero exit code
Environment
Additional context
Other errors like failing to find the reference sourcemap file should result in a non-zero exit code
The text was updated successfully, but these errors were encountered: