fix(core): fix setting of the interactive env var (#15084)
Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
This commit is contained in:
parent
3a98c6d3ab
commit
2a76e20d67
@ -735,8 +735,8 @@ function withGenerateOptions(yargs: yargs.Argv) {
|
||||
default: false,
|
||||
})
|
||||
.middleware((args) => {
|
||||
if (process.env.NX_INTERACTIVE !== 'false') {
|
||||
args.interactive = true;
|
||||
if (process.env.NX_INTERACTIVE === 'false') {
|
||||
args.interactive = false;
|
||||
} else {
|
||||
process.env.NX_INTERACTIVE = `${args.interactive}`;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user