diff --git a/lib/utils/helpers.ts b/lib/utils/helpers.ts index f61cdefd..6179b47c 100644 --- a/lib/utils/helpers.ts +++ b/lib/utils/helpers.ts @@ -62,7 +62,7 @@ export function stateToString(state: OperationState) { export function sudo( command: string[], - { stderr, msg }: { stderr?: NodeJS.WritableStream; msg?: string }, + { stderr, msg }: { stderr?: NodeJS.WritableStream; msg?: string } = {}, ) { const { executeWithPrivileges } = require('./sudo');