[ruby/did_you_mean] Fix `frozen_string_literal is ignored after any tokens` warning. (https://github.com/ruby/did_you_mean/pull/172)
``` did_you_mean/formatters/verbose_formatter.rb:5: warning: `frozen_string_literal' is ignored after any tokens ``` https://github.com/ruby/did_you_mean/commit/531760f323
This commit is contained in:
parent
ec7b42eb77
commit
bd8df25cdc
|
@ -1,8 +1,9 @@
|
|||
# frozen-string-literal: true
|
||||
|
||||
warn "`require 'did_you_mean/formatters/verbose_formatter'` is deprecated and falls back to the default formatter. "
|
||||
|
||||
require_relative '../formatter'
|
||||
|
||||
# frozen-string-literal: true
|
||||
module DidYouMean
|
||||
# For compatibility:
|
||||
VerboseFormatter = Formatter
|
||||
|
|
Loading…
Reference in New Issue