fix: make sure external assets flag is a boolean
This commit is contained in:
parent
1a3e4c68bb
commit
fb3b0e2c29
@ -10,6 +10,6 @@ export const getCliOptions = (processArgv: string[]): CliOptions => {
|
||||
|
||||
return {
|
||||
isSilent: typeof argv["silent"] === "boolean" ? argv["silent"] : false,
|
||||
hasExternalAssets: argv["external-assets"] !== undefined
|
||||
hasExternalAssets: typeof argv["external-assets"] === "boolean" ? argv["external-assets"] : false
|
||||
};
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user