Skip to content

Commit 7d85e0f

Browse files
committed
Use frozen string literal in tools/
1 parent ef2016f commit 7d85e0f

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

.rubocop.yml

+1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ Style/FrozenStringLiteralComment:
9494
- 'actionpack/**/*'
9595
- 'guides/**/*'
9696
- 'tasks/**/*'
97+
- 'tools/**/*'
9798
Exclude:
9899
- 'actionview/test/**/*.builder'
99100
- 'actionview/test/**/*.ruby'

tools/console

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env ruby
2+
# frozen_string_literal: true
3+
24
require "bundler"
35
Bundler.setup
46

tools/profile

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env ruby
2+
# frozen_string_literal: true
3+
24
# Profile require calls giving information about the time and the files that are called
35
# when loading the provided file.
46
#

tools/test.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
$: << File.expand_path("test", COMPONENT_ROOT)
24

35
require "bundler"

0 commit comments

Comments
 (0)