Skip to content

Commit 358cbcf

Browse files
author
bweigel
committed
removes comment
1 parent 0030936 commit 358cbcf

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/pip.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,6 @@ function generateRequirementsFile(
6262
) {
6363
if (options.usePipenv && fse.existsSync(path.join(servicePath, 'Pipfile'))) {
6464
filterRequirementsFile(
65-
/*
66-
TODO: this is supposed to generate a requirements.txt from Pipfile,
67-
but source and target are basicalle the same
68-
*/
6965
path.join(servicePath, '.serverless/requirements.txt'),
7066
targetFile,
7167
options
@@ -418,7 +414,7 @@ function installRequirementsIfNeeded(
418414

419415
let requirementsTxtDirectory;
420416
// Copy our requirements to another path in .serverless (incase of individually packaged)
421-
if (modulePath && modulePath != '.') {
417+
if (modulePath && modulePath !== '.') {
422418
requirementsTxtDirectory = path.join(
423419
servicePath,
424420
'.serverless',

0 commit comments

Comments
 (0)