Fix rubocop offence for `Style/FrozenStringLiteralComment`

```
% be rubocop -a
Inspecting 2777 files
..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................C..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

Offenses:

tools/test_common.rb:1:1: C: [Corrected] Style/FrozenStringLiteralComment: Missing magic comment # frozen_string_literal: true.
if ENV["BUILDKITE"]
^

2777 files inspected, 1 offense detected, 1 offense corrected
```
This commit is contained in:
Ryuta Kamizono 2019-04-05 00:31:41 +09:00
parent 4c4cc7e396
commit 9e6f9bc773
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
if ENV["BUILDKITE"]
require "minitest/reporters"
require "fileutils"