Skip to content

Commit 7419fd1

Browse files
authored
fix an incorrect syntax (#246)
1 parent 4414ea4 commit 7419fd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mini_racer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def write_heap_snapshot(file_or_io)
203203
end
204204

205205
if !(File === f)
206-
raise ArgumentError("file_or_io")
206+
raise ArgumentError, "file_or_io"
207207
end
208208

209209
write_heap_snapshot_unsafe(f)

0 commit comments

Comments
 (0)