Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.3k
test: fix test-repl-require-after-write#27088
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Conversation
Currently, the test creates a file in the cwd and doesn't clean it up. Use a temporary directory instead.
nodejs-github-bot commented Apr 4, 2019
BridgeAR left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
BridgeAR commented Apr 4, 2019
I would like to fast-track this. Please +1 if you're fine with that. |
nodejs-github-bot commented Apr 4, 2019
targos commented Apr 4, 2019
I just pushed a fix (forgot a slash) |
| tmpdir.refresh(); | ||
| constrequirePath=tmpdir.path+'/non-existent.json'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: path.join()?
nodejs-github-bot commented Apr 4, 2019
nodejs-github-bot commented Apr 4, 2019
nodejs-github-bot commented Apr 5, 2019
nodejs-github-bot commented Apr 6, 2019
targos commented Apr 6, 2019
what am I missing with |
richardlau commented Apr 6, 2019
Looks like something has happened to the |
targos commented Apr 6, 2019 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
Thanks @richardlau I think I know what it is now. Since I'm injecting the value in a string literal, the |
nodejs-github-bot commented Apr 6, 2019
nodejs-github-bot commented Apr 6, 2019
addaleax commented Apr 6, 2019
Landed in 58aaf58, thanks for the PR! |
Currently, the test creates a file in the cwd and doesn't clean it up.
Use a temporary directory instead.