[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:
Jean byroot Boussier 2022-01-21 11:04:56 +01:00 committed by Hiroshi SHIBATA
parent ec7b42eb77
commit bd8df25cdc
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2
1 changed files with 2 additions and 1 deletions

View File

@ -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