Skip to content

Commit

Permalink
Warn message grammatical fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
george-ma committed Jul 23, 2024
1 parent d9809b6 commit ad6ed8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion exe/erblint
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env ruby
# frozen_string_literal: true

warn(Rainbow("Calling erblint is deprecated, please call the renamed binstub: `erb_lint` instead.").yellow)
warn(Rainbow("Calling erblint is deprecated, please call the renamed binstub `erb_lint` instead.").yellow)
exec(File.join(__dir__, "erb_lint"), *ARGV)
2 changes: 1 addition & 1 deletion lib/erb_lint/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def load_config
config = RunnerConfig.new(file_loader.yaml(config_filename), file_loader)
@config = RunnerConfig.default_for(config)
elsif File.exist?(DEPRECATED_CONFIG_FILENAME)
warn(Rainbow("#{DEPRECATED_CONFIG_FILENAME} is soon deprecated. Rename your config to erb_lint.yml.").yellow)
warn(Rainbow("#{DEPRECATED_CONFIG_FILENAME} is deprecated. Rename your config to `erb_lint.yml`.").yellow)
config = RunnerConfig.new(file_loader.yaml(DEPRECATED_CONFIG_FILENAME), file_loader)
@config = RunnerConfig.default_for(config)
else
Expand Down

0 comments on commit ad6ed8a

Please sign in to comment.