Skip to content

Commit

Permalink
fix(deploy-log-full): timeout choice not working
Browse files Browse the repository at this point in the history
  • Loading branch information
dr460nf1r3 committed Jun 26, 2024
1 parent a52e99e commit ac0a619
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ <h1 class="text-center text-4xl font-extrabold text-maroon">Deployment log</h1>

<button
(click)="getNewAmount()"
class="hover:chaotic-grow-l ml-2.5 rounded-lg bg-maroon px-5 py-2.5 text-base text-sm font-medium hover:bg-mauve focus:outline-none"
class="hover:chaotic-grow-l ml-2.5 rounded-lg bg-maroon px-5 py-2.5 mt-2.5 text-base text-sm font-medium hover:bg-mauve focus:outline-none"
type="button"
>
Show logs
Expand Down
2 changes: 1 addition & 1 deletion shared-lib/src/lib/functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function parseDeployments(messages: TgMessageList, type: DeploymentType):
repo = String(String(message.content).split("deployment to ")[1]).split(":")[0]
deploymentType = DeploymentType.SUCCESS
} else if (
(type === DeploymentType.FAILED || type === DeploymentType.ALL) &&
(type === DeploymentType.TIMEOUT || type === DeploymentType.ALL) &&
String(message.content).includes("timeout")
) {
repo = String(message.content).split("Build for ")[1].split(" failed")[0]
Expand Down

0 comments on commit ac0a619

Please sign in to comment.