Skip to content

Commit 1552f22

Browse files
committed
Simplify the expand tabs commit message
1 parent 7ee65cb commit 1552f22

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bin/auto-style.rb

+1-2
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,7 @@ def with_clean_env
228228
].compact
229229
message = "* #{msg.join(', ')}. [ci skip]"
230230
if expandtab
231-
message += "\n\nTabs were expanded because the file did not have any tab indentation in unedited lines."
232-
message += "\nPlease update your editor config, and use misc/expand_tabs.rb in the pre-commit hook."
231+
message += "\nPlease consider using misc/expand_tabs.rb as a pre-commit hook."
233232
end
234233
vcs.commit(message, *edited_files)
235234
end

0 commit comments

Comments
 (0)