Skip to content

Commit

Permalink
Fix cli bugs introduced in last cli bug fixing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Oct 9, 2013
1 parent a234c9b commit 91c9488
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/opal/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ def show_sexp
# PROCESSOR

def set_processor_options
require_opal_sprockets
processor_options.each do |option|
key = option.to_sym
next unless options.has_key? key
Expand Down Expand Up @@ -208,7 +209,7 @@ def prepare_eval_code
File.open(path, 'w') do |tempfile|
load_paths << File.dirname(path)
tempfile.puts 'require "opal"'
tempfile.puts evals_code
tempfile.puts evals_source
end
@filename = File.basename(path)
end
Expand Down

0 comments on commit 91c9488

Please sign in to comment.