@@ -117,15 +117,15 @@ function installRequirements(targetFolder, serverless, options) {
117
117
if ( options . pipCmdExtraArgs . indexOf ( '--cache-dir' ) > - 1 ) {
118
118
if ( options . dockerizePip ) {
119
119
throw 'Error: You can not use --cache-dir with Docker any more, please\n' +
120
- ' use the new option useDownloadCache instead. Please see:\n' +
121
- ' https://github.com/UnitedIncome/serverless-python-requirements#caching' ;
120
+ ' use the new option useDownloadCache instead. Please see:\n' +
121
+ ' https://github.com/UnitedIncome/serverless-python-requirements#caching' ;
122
122
} else {
123
123
serverless . cli . log ( '==================================================' ) ;
124
124
serverless . cli . log (
125
125
'Warning: You are using a deprecated --cache-dir inside\n' +
126
- ' your pipCmdExtraArgs which may not work properly, please use the\n' +
127
- ' useDownloadCache option instead. Please see: \n' +
128
- ' https://github.com/UnitedIncome/serverless-python-requirements#caching'
126
+ ' your pipCmdExtraArgs which may not work properly, please use the\n' +
127
+ ' useDownloadCache option instead. Please see: \n' +
128
+ ' https://github.com/UnitedIncome/serverless-python-requirements#caching'
129
129
) ;
130
130
serverless . cli . log ( '==================================================' ) ;
131
131
}
@@ -212,7 +212,7 @@ function installRequirements(targetFolder, serverless, options) {
212
212
213
213
if ( options . dockerEnv ) {
214
214
// Add environment variables to docker run cmd
215
- options . dockerEnv . forEach ( function ( item ) {
215
+ options . dockerEnv . forEach ( function ( item ) {
216
216
dockerCmd . push ( '-e' , item ) ;
217
217
} ) ;
218
218
}
0 commit comments