Skip to content

Commit 521c791

Browse files
committed
clean up steep task
1 parent 30fbbd8 commit 521c791

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Rakefile

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

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

2321
desc "Run example scripts"

0 commit comments

Comments
 (0)