Skip to content

Commit 97a012f

Browse files
authored
Merge pull request #45 from lengthmin/patch-1
fix: destructuring commandArgs
2 parents e0821aa + 72362c1 commit 97a012f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/minidump.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ module.exports.walkStack = function (minidump, symbolPaths, callback, commandArg
6868
}
6969

7070
var args = [minidump].concat(symbolPaths, globalSymbolPaths)
71-
args = commandArgs ? [commandArgs].concat(args) : args
71+
args = commandArgs ? [...commandArgs].concat(args) : args
7272
execute(stackwalk, args, callback)
7373
}
7474

0 commit comments

Comments
 (0)