1
0
Fork 0
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:
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

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