Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions lib/cloud_builder/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def execute
end
end

if diff?
if (diff? || update?)
remote_template = cf.stacks[key].template

# b = s3.buckets[bucket]
Expand All @@ -51,7 +51,10 @@ def execute
cmd = "%s %s %s" % [diff_tool ? diff_tool : "git diff --color", t1.path, t2.path]
# puts cmd
puts `#{cmd}`
return
if (diff? && !update?)
return
end
#return
end

if bucket
Expand All @@ -76,4 +79,4 @@ def execute

end
end
end
end