Skip to content

fix: destructuring commandArgs#45

Merged
nornagon merged 1 commit intoelectron:masterfrom
bytemain:patch-1
Mar 30, 2021
Merged

fix: destructuring commandArgs#45
nornagon merged 1 commit intoelectron:masterfrom
bytemain:patch-1

Conversation

@bytemain
Copy link
Contributor

because commandArgs is Array, so if commandArgs = ["-m", "-s"];

then the args = [ ["-m", "-s"] ], and the execute not handle it, so stackwalk will fail and exit

@nornagon nornagon merged commit 97a012f into electron:master Mar 30, 2021
@bytemain bytemain deleted the patch-1 branch March 31, 2021 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants