Repository navigation
Add a warning for when the history path doesn't exist - #852
Merged
Merged
Conversation
Member
|
Can you add a test case to |
Member
|
Also, I don't think |
Member
|
Issue #830 is for |
st0012
reviewed
Feb 1, 2024
ignacio-chiazzo
force-pushed
the
add-warning
branch
2 times, most recently
from
February 2, 2024 19:26
0458b7b to
05dfbd1
Compare
ignacio-chiazzo
force-pushed
the
add-warning
branch
from
February 2, 2024 19:29
05dfbd1 to
1735db9
Compare
ignacio-chiazzo
force-pushed
the
add-warning
branch
from
February 2, 2024 19:30
1735db9 to
e143b20
Compare
st0012
reviewed
Feb 2, 2024
matzbot
pushed a commit
to ruby/ruby
that referenced
this pull request
Feb 2, 2024
(ruby/irb#852) * Add a warning for when the history path doesn't exist * warn when the directory does not exist * added test for when the history_file does not exist * Update lib/irb/history.rb --------- ruby/irb@9e6fa67212 Co-authored-by: Stan Lo <stan001212@gmail.com>
Merged
Member
|
This causes a warning in ruby/ruby: |
nobu
added a commit
to nobu/irb
that referenced
this pull request
Feb 3, 2024
matzbot
pushed a commit
to ruby/ruby
that referenced
this pull request
Feb 3, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
When using a file path that doesn't exist in the
IRB.conf[:HISTORY_FILE]env variable,IRBcreates a new file with that directory without warning the developer.This PR prints a warning when that happens.
#830
Demo
Screen.Recording.2024-02-02.at.4.31.29.PM.mov