Merge pull request #3667 from balena-io/fix-message-of.null

patch: fix mesage of null
This commit is contained in:
bulldozer-balena[bot] 2021-12-29 15:06:59 +00:00 committed by GitHub
commit 9a303ab344
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 });