Skip to content

Commit 270ab71

Browse files
authored
Merge branch 'master' into mount-ssh-dir
2 parents 2c12a7a + f57475d commit 270ab71

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/poetry.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function pyprojectTomlToRequirements() {
5050

5151
if (requirementsContents.match(editableFlag)) {
5252
this.serverless.cli.log(
53-
'The generated file contains -e lines, removing them...'
53+
'The generated file contains -e flags, removing them...'
5454
);
5555
fse.writeFileSync(
5656
sourceRequirements,
@@ -61,7 +61,8 @@ function pyprojectTomlToRequirements() {
6161
fse.ensureDirSync(path.join(this.servicePath, '.serverless'));
6262
fse.moveSync(
6363
sourceRequirements,
64-
path.join(this.servicePath, '.serverless', 'requirements.txt')
64+
path.join(this.servicePath, '.serverless', 'requirements.txt'),
65+
{ "overwrite": true }
6566
);
6667
}
6768

0 commit comments

Comments
 (0)