Skip to content

armgit / Pake

Public Imported from GitHub
0

Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.

Auto-fix formatting issues

GitHub Action48565347c2e6
diff --git a/bin/cli.ts b/bin/cli.ts
index 96c561f2..35815708 100644
--- a/bin/cli.ts
+++ b/bin/cli.ts
@@ -173,11 +173,13 @@ program
.configureHelp({
sortSubcommands: true,
optionTerm: (option) => {
- if (option.flags === '-v, --version' || option.flags === '-h, --help') return '';
+ if (option.flags === '-v, --version' || option.flags === '-h, --help')
+ return '';
return option.flags;
},
optionDescription: (option) => {
- if (option.flags === '-v, --version' || option.flags === '-h, --help') return '';
+ if (option.flags === '-v, --version' || option.flags === '-h, --help')
+ return '';
return option.description;
},
})