Skip to content

Commit 2a829f9

Browse files
author
Benjamin Pasero
committed
💄
1 parent d3dbf56 commit 2a829f9

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

build/azure-pipelines/upload-sourcemaps.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ const root = path.dirname(path.dirname(__dirname));
1414
const commit = util.getVersion(root);
1515

1616
// optionally allow to pass in explicit base/maps to upload
17-
const args = process.argv.slice(2);
18-
const base = args[0];
19-
const maps = args[1];
17+
const [base, maps] = process.argv.slice(2);
2018

2119
const fetch = function (base, maps = `${base}/**/*.map`) {
2220
return vfs.src(maps, { base })

0 commit comments

Comments
 (0)