Minimize use of cliArgs.serverless (#179925)

This commit is contained in:
Alejandro Fernández Haro 2024-04-03 16:27:34 +02:00 committed by GitHub
parent 80e280505a
commit 910e4e0cb0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -310,7 +310,7 @@ export class ConfigService {
{
dev: this.env.mode.dev,
prod: this.env.mode.prod,
serverless: this.env.cliArgs.serverless === true,
serverless: this.env.packageInfo.buildFlavor === 'serverless',
...this.env.packageInfo,
},
`config validation of [${namespace}]`