mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-29 14:16:36 +00:00
Merge pull request #3667 from balena-io/fix-message-of.null
patch: fix mesage of null
This commit is contained in:
commit
9a303ab344
@ -40,7 +40,7 @@ function sudoExecAsync(
|
||||
cmd,
|
||||
options,
|
||||
(error: Error | undefined, stdout: Std, stderr: Std) => {
|
||||
if (error !== undefined) {
|
||||
if (error) {
|
||||
reject(error);
|
||||
} else {
|
||||
resolve({ stdout, stderr });
|
||||
|
Loading…
x
Reference in New Issue
Block a user