From 9e6f9bc7732ec4eb7e67121ab209eae6293f9097 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Fri, 5 Apr 2019 00:31:41 +0900 Subject: [PATCH] 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 ``` --- tools/test_common.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/test_common.rb b/tools/test_common.rb index 7f59caf644..9959f55ded 100644 --- a/tools/test_common.rb +++ b/tools/test_common.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + if ENV["BUILDKITE"] require "minitest/reporters" require "fileutils"