From ad6ed8a4186fefb47d8326456d96fcf2c4e3549e Mon Sep 17 00:00:00 2001 From: George Ma Date: Tue, 23 Jul 2024 16:19:58 -0400 Subject: [PATCH] Warn message grammatical fixes --- exe/erblint | 2 +- lib/erb_lint/cli.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exe/erblint b/exe/erblint index 7a495b9..5a9c16f 100755 --- a/exe/erblint +++ b/exe/erblint @@ -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) diff --git a/lib/erb_lint/cli.rb b/lib/erb_lint/cli.rb index b86e15d..b495357 100644 --- a/lib/erb_lint/cli.rb +++ b/lib/erb_lint/cli.rb @@ -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