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 Action06b87c689e86
diff --git a/bin/helpers/merge.ts b/bin/helpers/merge.ts
index 1adcb645..fb6fa522 100644
--- a/bin/helpers/merge.ts
+++ b/bin/helpers/merge.ts
@@ -305,7 +305,9 @@ StartupNotify=true
// Ensure inject is an array before calling .every()
const injectArray = Array.isArray(inject) ? inject : [inject];
if (
- !injectArray.every((item) => item.endsWith('.css') || item.endsWith('.js'))
+ !injectArray.every(
+ (item) => item.endsWith('.css') || item.endsWith('.js'),
+ )
) {
logger.error('The injected file must be in either CSS or JS format.');
return;