Skip to content

Commit 1e026db

Browse files
authored
Merge pull request rails#51945 from artfuldodger/patch-1
Switch example editor to code instead of mate
2 parents 3aa026f + b7f7b0c commit 1e026db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

railties/lib/rails/command/helpers/editor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def display_hint_if_system_editor_not_specified
1616
if editor.to_s.empty?
1717
say "No $VISUAL or $EDITOR to open file in. Assign one like this:"
1818
say ""
19-
say %(VISUAL="mate --wait" #{executable(current_subcommand)})
19+
say %(VISUAL="code --wait" #{executable(current_subcommand)})
2020
say ""
2121
say "For editors that fork and exit immediately, it's important to pass a wait flag;"
2222
say "otherwise, the file will be saved immediately with no chance to edit."

0 commit comments

Comments
 (0)