We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0030936 commit 358cbcfCopy full SHA for 358cbcf
lib/pip.js
@@ -62,10 +62,6 @@ function generateRequirementsFile(
62
) {
63
if (options.usePipenv && fse.existsSync(path.join(servicePath, 'Pipfile'))) {
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
path.join(servicePath, '.serverless/requirements.txt'),
70
targetFile,
71
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
requirementsTxtDirectory = path.join(
423
servicePath,
424
'.serverless',
0 commit comments