Permalink
Browse files

Passing stage to ARGV when one is set

  • Loading branch information...
joelmoss committed Mar 29, 2012
1 parent 23a9628 commit 198005b5b7f4090f8f71d3bcfab42af9f7979809
Showing with 2 additions and 0 deletions.
  1. +2 −0 app/models/job.rb
View
@@ -17,6 +17,8 @@ def self.deleted
def run_task
success = true
+ ARGV << stage if stage
+
FileUtils.chdir project.repo.path do
out = capture(:stderr) do
success = Strano::CLI.parse(Strano::Logger.new(self), full_command.flatten).execute!

0 comments on commit 198005b

Please sign in to comment.