mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[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 changed files with 2 additions and 1 deletions
|
@ -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 a new issue