Skip to content

Commit 9e6f9bc

Browse files
committed
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 ```
1 parent 4c4cc7e commit 9e6f9bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/test_common.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
if ENV["BUILDKITE"]
24
require "minitest/reporters"
35
require "fileutils"

0 commit comments

Comments
 (0)