mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
chore: Improve deprecation warning related to .env files (#8926)
This commit is contained in:
parent
c8547e8752
commit
9e32dc40bc
@ -214,8 +214,9 @@ class Serverless {
|
||||
if (doesDefaultEnvFileExists || doesStageEnvFileExists) {
|
||||
this._logDeprecation(
|
||||
'LOAD_VARIABLES_FROM_ENV_FILES',
|
||||
'Detected ".env" files. Note that Framework now supports loading variables from those files ' +
|
||||
'when "useDotenv: true" is set (and that will be the default from next major release)'
|
||||
'Detected ".env" files. In the next major release variables from ".env" ' +
|
||||
'files will be automatically loaded into the serverless build process. ' +
|
||||
'Set "useDotenv: true" to adopt that behavior now.'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user