Rakefile in blacklight-spotlight-0.19.2 vs Rakefile in blacklight-spotlight-0.20.0
- old
+ new
@@ -87,10 +87,10 @@
[err: [:child, :out]]) do |io|
IO.copy_stream(io, $stderr)
_, exit_status = Process.wait2(io.pid)
- raise 'Failed to generate spotlight' if exit_status != 0
+ raise 'Failed to generate spotlight' if exit_status.nonzero?
end
end
Bundler.with_clean_env do
Dir.chdir('internal') do