Skip to content

Commit 9d15ee4

Browse files
committed
Add support for latest pipenv
1 parent a4cd36b commit 9d15ee4

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

lib/pipenv.js

+8-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,14 @@ async function pipfileToRequirements() {
3232
try {
3333
res = await spawn(
3434
'pipenv',
35-
['lock', '--requirements', '--keep-outdated'],
35+
['lock', '--keep-outdated'],
36+
{
37+
cwd: this.servicePath,
38+
}
39+
);
40+
res = await spawn(
41+
'pipenv',
42+
['requirements', '--hash'],
3643
{
3744
cwd: this.servicePath,
3845
}

0 commit comments

Comments
 (0)