[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. "
|
warn "`require 'did_you_mean/formatters/verbose_formatter'` is deprecated and falls back to the default formatter. "
|
||||||
|
|
||||||
require_relative '../formatter'
|
require_relative '../formatter'
|
||||||
|
|
||||||
# frozen-string-literal: true
|
|
||||||
module DidYouMean
|
module DidYouMean
|
||||||
# For compatibility:
|
# For compatibility:
|
||||||
VerboseFormatter = Formatter
|
VerboseFormatter = Formatter
|
||||||
|
Loading…
x
Reference in New Issue
Block a user