Skip to content

Commit 30ae3a2

Browse files
authored
Fix init (#115)
1 parent ad4152a commit 30ae3a2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • src/infrastructure/application/cli

src/infrastructure/application/cli/cli.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2278,14 +2278,14 @@ export class Cli {
22782278
workingDirectory: this.workingDirectory,
22792279
configurationProvider: this.getCliConfigurationProvider(),
22802280
manager: new CachedConfigurationManager(
2281-
this.configuration.interactive && !this.isReadOnlyMode()
2282-
? new NewConfigurationManager({
2281+
this.isReadOnlyMode()
2282+
? manager
2283+
: new NewConfigurationManager({
22832284
manager: manager,
22842285
initializer: {
22852286
initialize: () => this.init({}),
22862287
},
2287-
})
2288-
: manager,
2288+
}),
22892289
),
22902290
});
22912291
});

0 commit comments

Comments
 (0)