Skip to content

Commit

Permalink
Bugfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
iced committed May 8, 2012
1 parent ce199d5 commit d3749a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/iron_worker
Expand Up @@ -59,7 +59,7 @@ if command == 'codes.create'

code = nil

if code.nil?
if runtime.nil?
code = IronWorkerNG::Code.create(:name => name)
else
code = runtimes.find { |r| r[:name] == runtime }[:klass].new(:name => name)
Expand Down

0 comments on commit d3749a2

Please sign in to comment.