Skip to content

Commit 8b0e6c2

Browse files
committed
Fix rubocop indentation
1 parent aeeb40a commit 8b0e6c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/api/app/models/workflow_run.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ def update_as_failed(message)
8383
# "Failed to report back to GitHub: Unauthorized request. Please check your credentials again."
8484
# "Failed to report back to GitHub: Request is forbidden."
8585

86-
if fail? && (
86+
if fail? && (
8787
message.include?('Unauthorized request') ||
8888
/Request (is )?forbidden/.match?(message)
89-
)
89+
)
9090
token&.update(enabled: false)
91-
end
91+
end
9292
end
9393

9494
# Stores debug info to help figure out what went wrong when trying to save a Status in the SCM.

0 commit comments

Comments
 (0)