-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add error handling for nonexistent file case with --file option #5086
Open
khoaHyh
wants to merge
20
commits into
mochajs:master
Choose a base branch
from
khoaHyh:issue/4047
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Jan 24, 2024
-
feat: handle nonexistent files passed to --file
- added error handling when using the --file flag to do it the way --require does - added a test to assert that we throw the same type of error
Configuration menu - View commit details
-
Copy full SHA for bd47d79 - Browse repository at this point
Copy the full SHA bd47d79View commit details -
refactor: remove path.resolve()
- require.resolve() by Node.js follows a Node.js module resolution algo which includes checking if the resolved path actually exists on the file system.
Configuration menu - View commit details
-
Copy full SHA for 4aad184 - Browse repository at this point
Copy the full SHA 4aad184View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8983b84 - Browse repository at this point
Copy the full SHA 8983b84View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6d6dc2 - Browse repository at this point
Copy the full SHA b6d6dc2View commit details
Commits on Feb 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9b3d5d2 - Browse repository at this point
Copy the full SHA 9b3d5d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 645e0b0 - Browse repository at this point
Copy the full SHA 645e0b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e1e84a - Browse repository at this point
Copy the full SHA 0e1e84aView commit details
Commits on Feb 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9685b82 - Browse repository at this point
Copy the full SHA 9685b82View commit details
Commits on Feb 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f8aedff - Browse repository at this point
Copy the full SHA f8aedffView commit details
Commits on Mar 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a6bdef4 - Browse repository at this point
Copy the full SHA a6bdef4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 909834d - Browse repository at this point
Copy the full SHA 909834dView commit details
Commits on Mar 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cf69df1 - Browse repository at this point
Copy the full SHA cf69df1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b905d21 - Browse repository at this point
Copy the full SHA b905d21View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea092be - Browse repository at this point
Copy the full SHA ea092beView commit details
Commits on Mar 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6d4170e - Browse repository at this point
Copy the full SHA 6d4170eView commit details -
Configuration menu - View commit details
-
Copy full SHA for bad240d - Browse repository at this point
Copy the full SHA bad240dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21e566d - Browse repository at this point
Copy the full SHA 21e566dView commit details -
Configuration menu - View commit details
-
Copy full SHA for dce26f4 - Browse repository at this point
Copy the full SHA dce26f4View commit details
Commits on Mar 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4c9f318 - Browse repository at this point
Copy the full SHA 4c9f318View commit details
Commits on May 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1a9f155 - Browse repository at this point
Copy the full SHA 1a9f155View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.