Skip to content

Commit 2d7953b

Browse files
author
bweigel
committed
fix formatting
1 parent ed9a47f commit 2d7953b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/pip.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,15 @@ function installRequirements(targetFolder, serverless, options) {
117117
if (options.pipCmdExtraArgs.indexOf('--cache-dir') > -1) {
118118
if (options.dockerizePip) {
119119
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';
122122
} else {
123123
serverless.cli.log('==================================================');
124124
serverless.cli.log(
125125
'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'
129129
);
130130
serverless.cli.log('==================================================');
131131
}
@@ -212,7 +212,7 @@ function installRequirements(targetFolder, serverless, options) {
212212

213213
if (options.dockerEnv) {
214214
// Add environment variables to docker run cmd
215-
options.dockerEnv.forEach(function (item) {
215+
options.dockerEnv.forEach(function(item) {
216216
dockerCmd.push('-e', item);
217217
});
218218
}

0 commit comments

Comments
 (0)