mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-16 07:46:31 +00:00
patch: fix mesage of null
Change-Type: patch
This commit is contained in:
parent
30ae4bbd86
commit
9c1b55bebc
@ -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