Skip to content

Commit 28b32c0

Browse files
committed
Steep doesn't like --enable-frozen-string-literal
1 parent 202b355 commit 28b32c0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Rakefile

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ end
1313

1414
desc "Run type checks (RBS + Steep)"
1515
task :steep do
16+
puts ENV['RUBYOPT']
17+
ENV['RUBYOPT'] = ENV['RUBYOPT'].sub('--enable-frozen-string-literal', '')
18+
puts ENV['RUBYOPT']
1619
bindir = Dir[File.join(ENV['HOME'], '.local/share/gem/ruby/*/bin')].last
1720
sh "#{File.join(bindir, 'steep')} check"
1821
end

0 commit comments

Comments
 (0)