Skip to content

Commit

Permalink
Fix TS formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lucperkins committed May 22, 2024
1 parent 407d68a commit 45c0812
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,7 @@ class FlakeHubPushAction extends DetSysAction {
}

async pushFlakeToFlakeHub(): Promise<void> {
try {
const executionEnv = this.executionEnvironment();
const executionEnv = this.executionEnvironment();

const flakeHubPushBinary =
this.sourceBinary !== null
Expand All @@ -163,16 +162,9 @@ class FlakeHubPushAction extends DetSysAction {
} else {
actionsCore.info(`Flake release was successfully published`);
}
}
}
}

function stringifyError(error: unknown): string {
return error instanceof Error || typeof error == "string"
? error.toString()
: JSON.stringify(error);
}

function main(): void {
new FlakeHubPushAction().execute();
}
Expand Down

0 comments on commit 45c0812

Please sign in to comment.