From cfade1ec7ee7b5b51f3c1578e3474f9c156f2971 Mon Sep 17 00:00:00 2001 From: Kir Shatrov Date: Thu, 22 Jun 2017 22:59:18 -0400 Subject: Enforce frozen string in Rubocop --- tools/console | 1 + tools/profile | 1 + tools/test.rb | 1 + 3 files changed, 3 insertions(+) (limited to 'tools') diff --git a/tools/console b/tools/console index 58c76fb1b6..ff52308a90 100755 --- a/tools/console +++ b/tools/console @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: true require "bundler" Bundler.setup diff --git a/tools/profile b/tools/profile index 01e513c67a..ccbd8cfa46 100755 --- a/tools/profile +++ b/tools/profile @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: true # Profile require calls giving information about the time and the files that are called # when loading the provided file. # diff --git a/tools/test.rb b/tools/test.rb index 52e9c19198..189997229b 100644 --- a/tools/test.rb +++ b/tools/test.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true $: << File.expand_path("test", COMPONENT_ROOT) require "bundler" -- cgit v1.2.3