We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pip
1 parent 0eb1483 commit 34797baCopy full SHA for 34797ba
index.js
@@ -74,9 +74,13 @@ class ServerlessPythonRequirements {
74
(options.dockerSsh || options.dockerImage || options.dockerFile)
75
) {
76
if (!this.warningLogged) {
77
- this.serverless.cli.log(
78
- 'WARNING: You provided a docker related option but dockerizePip is set to false.'
79
- );
+ if (this.log) {
+ this.log.warning('You provided a docker related option but dockerizePip is set to false.');
+ } else {
80
+ this.serverless.cli.log(
81
+ 'WARNING: You provided a docker related option but dockerizePip is set to false.'
82
+ );
83
+ }
84
this.warningLogged = true;
85
}
86
0 commit comments