lib/gooddata/commands/process.rb in gooddata-0.6.11 vs lib/gooddata/commands/process.rb in gooddata-0.6.12
- old
+ new
@@ -50,10 +50,9 @@
def run(dir, executable, options = { :client => GoodData.connection, :project => GoodData.project })
verbose = options[:v]
dir = Pathname(dir)
name = options[:name] || "Temporary deploy[#{dir}][#{options[:project_name]}]"
-
GoodData::Process.with_deploy(dir, options.merge(:name => name, :project_id => ProjectHelper::PROJECT_ID)) do |process|
puts HighLine.color('Executing', HighLine::BOLD) if verbose
process.execute(executable, options)
end
end