Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
hoodmane committed Dec 21, 2024
1 parent a279630 commit 818b34e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion sphinx_js/js/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ async function loadConfig(
return configModule.config;
}

export async function run(args: string[]): Promise<[Application, TopLevelIR[]]> {
export async function run(
args: string[],
): Promise<[Application, TopLevelIR[]]> {
// Most of this stuff is copied from typedoc/src/lib/cli.ts
let app = await bootstrapAppTypedoc0_25(args);
if (app.options.getValue("version")) {
Expand Down
2 changes: 1 addition & 1 deletion sphinx_js/js/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ async function main() {
let app, result;
try {
[app, result] = await run(args);
} catch(e) {
} catch (e) {
if (e instanceof ExitError) {
return e.code;
}
Expand Down

0 comments on commit 818b34e

Please sign in to comment.