Skip to content

Commit a2f4de5

Browse files
committed
1 parent 03273b0 commit a2f4de5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

utils/bump/extension-manifests.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@
77

88
(async () => {
99

10+
// Parse ARGS
11+
const args = process.argv.slice(2),
12+
chromiumOnly = args.some(arg => /chrom/i.test(arg)),
13+
ffOnly = args.some(arg => /f{2}/i.test(arg)),
14+
noCommit = args.some(arg => ['--no-commit', '-nc'].includes(arg)),
15+
noPush = args.some(arg => ['--no-push', '-np'].includes(arg))
16+
1017
// Import LIBS
1118
const fs = require('fs'),
1219
path = require('path'),
@@ -23,13 +30,6 @@
2330
).replace(/^\/\*\*[\s\S]*?\*\/\s*/, '')) // strip JSD header minification comment
2431
const bump = await import(`file://${cachePaths.bumpUtils}`) ; fs.unlinkSync(cachePaths.bumpUtils)
2532

26-
// Parse ARGS
27-
const args = process.argv.slice(2),
28-
chromiumOnly = args.some(arg => /chrom/i.test(arg)),
29-
ffOnly = args.some(arg => /f{2}/i.test(arg)),
30-
noCommit = args.some(arg => ['--no-commit', '-nc'].includes(arg)),
31-
noPush = args.some(arg => ['--no-push', '-np'].includes(arg))
32-
3333
// Init manifest PATHS
3434
const manifestPaths = ['chromium/extension/manifest.json']
3535

0 commit comments

Comments
 (0)