Skip to content

Commit 16c24ea

Browse files
committed
Added acronym arg support to --no-<commit|push> ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/perplexity-omnibox]
1 parent ae85e04 commit 16c24ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/bump/extension-manifests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
const args = process.argv.slice(2),
2828
chromiumOnly = args.some(arg => /chrom/i.test(arg)),
2929
ffOnly = args.some(arg => /f{2}/i.test(arg)),
30-
noCommit = args.includes('--no-commit'),
31-
noPush = args.includes('--no-push')
30+
noCommit = args.some(arg => ['--no-commit', '-nc'].includes(arg)),
31+
noPush = args.some(arg => ['--no-push', '-np'].includes(arg))
3232

3333
// Init manifest PATHS
3434
const manifestPaths = ['chromium/extension/manifest.json']

0 commit comments

Comments
 (0)