Merge pull request #51945 from artfuldodger/patch-1

Switch example editor to code instead of mate
This commit is contained in:
Rafael Mendonça França 2024-05-30 02:17:36 -04:00 committed by GitHub
commit 1e026dbf50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ module Rails
if editor.to_s.empty?
say "No $VISUAL or $EDITOR to open file in. Assign one like this:"
say ""
say %(VISUAL="mate --wait" #{executable(current_subcommand)})
say %(VISUAL="code --wait" #{executable(current_subcommand)})
say ""
say "For editors that fork and exit immediately, it's important to pass a wait flag;"
say "otherwise, the file will be saved immediately with no chance to edit."