fix(core): properly pass args to custom preset (#8154)

This commit is contained in:
Jack Hsu 2021-12-13 17:26:41 -05:00 committed by GitHub
parent 77f7a5036f
commit 1f44bbeed9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,7 +101,7 @@ function generatePreset(host: Tree, opts: Schema) {
acc.push(`--no-${key}`);
} else {
// string, number (don't handle arrays or nested objects)
acc.push(`${key}=${value}`);
acc.push(`--${key}=${value}`);
}
return acc;
},