File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -62,10 +62,6 @@ function generateRequirementsFile(
62
62
) {
63
63
if ( options . usePipenv && fse . existsSync ( path . join ( servicePath , 'Pipfile' ) ) ) {
64
64
filterRequirementsFile (
65
- /*
66
- TODO: this is supposed to generate a requirements.txt from Pipfile,
67
- but source and target are basicalle the same
68
- */
69
65
path . join ( servicePath , '.serverless/requirements.txt' ) ,
70
66
targetFile ,
71
67
options
@@ -418,7 +414,7 @@ function installRequirementsIfNeeded(
418
414
419
415
let requirementsTxtDirectory ;
420
416
// Copy our requirements to another path in .serverless (incase of individually packaged)
421
- if ( modulePath && modulePath != '.' ) {
417
+ if ( modulePath && modulePath !== '.' ) {
422
418
requirementsTxtDirectory = path . join (
423
419
servicePath ,
424
420
'.serverless' ,
You can’t perform that action at this time.
0 commit comments