-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
Attempting to convert old non-existing history file fails #2449
Labels
repl
Issues and PRs related to the REPL subsystem.
Comments
I have a potential fix for this -- am verifying it and writing tests |
ping @Fishrock123 |
I'm not sure if it needs more tests than that? (Or if that's a valid test?) The resulting binary works correctly for me. |
Isn't this the expected behavior, that option would have done that before? Edit: ah I understand, before it would have made a file. |
Fishrock123
pushed a commit
that referenced
this issue
Aug 20, 2015
If you have no history file written to disk, but the environment variable set, `fs.readFileSync` will throw an ENOENT error, but there's nothing to convert. The converter should ignore ENOENT on that `fs.readFileSync` call. Fixes: #2449 PR-URL: #2451 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Fixed by 3849750 :) |
rvagg
pushed a commit
that referenced
this issue
Aug 21, 2015
If you have no history file written to disk, but the environment variable set, `fs.readFileSync` will throw an ENOENT error, but there's nothing to convert. The converter should ignore ENOENT on that `fs.readFileSync` call. Fixes: #2449 PR-URL: #2451 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just upgraded to 3.0.0 from 0.10.28 on linux.
trying to launch the repl results in:
This seems to be due to the fact that i have
NODE_REPL_HISTORY_FILE
set, but there is no actual file present:The text was updated successfully, but these errors were encountered: