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 Action3e46a723f60c
diff --git a/bin/helpers/cli-program.ts b/bin/helpers/cli-program.ts
index ebb51440..76dad137 100644
--- a/bin/helpers/cli-program.ts
+++ b/bin/helpers/cli-program.ts
@@ -23,8 +23,10 @@ ${green('|_| \\__,_|_|\\_\\___| can turn any webpage into a desktop app with
.argument('[url]', 'The web URL you want to package', validateUrlInput)
.option('--name <string>', 'Application name')
.addOption(
- new Option('--identifier <string>', 'Application identifier / bundle ID')
- .hideHelp(),
+ new Option(
+ '--identifier <string>',
+ 'Application identifier / bundle ID',
+ ).hideHelp(),
)
.option('--icon <string>', 'Application icon', DEFAULT.icon)
.option(
diff --git a/tests/unit/identifier.test.ts b/tests/unit/identifier.test.ts
index 5cecf145..a0676a48 100644
--- a/tests/unit/identifier.test.ts
+++ b/tests/unit/identifier.test.ts
@@ -17,8 +17,8 @@ describe('identifier generation', () => {
});
it('prefers a custom identifier when provided', () => {
- expect(
- resolveIdentifier(url, 'Work Gmail', 'com.example.work-gmail'),
- ).toBe('com.example.work-gmail');
+ expect(resolveIdentifier(url, 'Work Gmail', 'com.example.work-gmail')).toBe(
+ 'com.example.work-gmail',
+ );
});
});