mirror of https://github.com/rails/rails
Merge pull request #51945 from artfuldodger/patch-1
Switch example editor to code instead of mate
This commit is contained in:
commit
1e026dbf50
|
@ -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."
|
||||
|
|
Loading…
Reference in New Issue