Skip to content

Commit 8f9cae3

Browse files
committedOct 21, 2014
Fix local requires for builder
1 parent 425e440 commit 8f9cae3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/opal/cli.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def compiled_source
9494

9595
# REQUIRES: -r
9696
requires.each do |local_require|
97-
builder.build_str("require #{local_require.inspect}", 'require')
97+
builder.build(local_require)
9898
end
9999

100100
if evals.any?

0 commit comments

Comments
 (0)
Please sign in to comment.