Skip to content

Commit

Permalink
style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmark committed Jul 19, 2018
1 parent e6574f1 commit d32aba2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/autotune/project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def build(current_user, update: false, publish: false, repeat_until: nil, wait_u
else
job.enqueue
end
rescue
rescue StandardError
update!(:status => 'broken')
raise
end
Expand All @@ -159,7 +159,7 @@ def build_and_publish(current_user)
# @raise The original exception when the update fails
# @see build
def update_snapshot(current_user)
build(current_user, update: true)
build(current_user, :update => true)
end

# Gets the URL for previewing the project.
Expand Down

0 comments on commit d32aba2

Please sign in to comment.