Skip to content

Commit cda6faa

Browse files
committed
Add support for latest pipenv
1 parent 2ce9d8e commit cda6faa

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

lib/pipenv.js

+6-7
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,12 @@ async function pipfileToRequirements() {
3030
try {
3131
let res;
3232
try {
33-
res = await spawn(
34-
'pipenv',
35-
['lock', '--requirements', '--keep-outdated'],
36-
{
37-
cwd: this.servicePath,
38-
}
39-
);
33+
res = await spawn('pipenv', ['lock', '--keep-outdated'], {
34+
cwd: this.servicePath,
35+
});
36+
res = await spawn('pipenv', ['requirements', '--hash'], {
37+
cwd: this.servicePath,
38+
});
4039
} catch (e) {
4140
if (
4241
e.stderrBuffer &&

0 commit comments

Comments
 (0)