Skip to content

Commit

Permalink
refactor: Move variables resolution log to debug level
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Sep 28, 2021
1 parent 26ce1c6 commit b0d854a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions lib/Serverless.js
Expand Up @@ -423,10 +423,12 @@ class Serverless {
// `variables.populateService`. Below lines ensure they're set
this.variables.loadVariableSyntax();
this.variables.options = this.pluginManager.cliOptions;
log.info(
'Skipping variables resolution with old resolver ' +
'(new resolver reported no more variables to resolve)'
);
log
.get('variables')
.debug(
'Skipping variables resolution with old resolver ' +
'(new resolver reported no more variables to resolve)'
);
if (process.env.SLS_DEBUG) {
legacy.log(
'Skipping variables resolution with old resolver ' +
Expand Down

0 comments on commit b0d854a

Please sign in to comment.