lib/esbuild/service.rb in esbuild-0.1.0 vs lib/esbuild/service.rb in esbuild-0.1.1
- old
+ new
@@ -81,10 +81,10 @@
"inputFS" => false,
"input" => input
)
unless res["errors"].empty?
- raise BuildFailureError, res["errors"], res["warnings"]
+ raise BuildFailureError.new(res["errors"], res["warnings"])
end
TransformResult.new(res)
end