File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ async function pipfileToRequirements() {
80
80
// Generate requirements from existing lock file.
81
81
// See: https://pipenv.pypa.io/en/latest/advanced/#generating-a-requirements-txt
82
82
try {
83
- await spawn ( 'pipenv' , [ 'requirements' ] , {
83
+ res = await spawn ( 'pipenv' , [ 'requirements' ] , {
84
84
cwd : this . servicePath ,
85
85
} ) ;
86
86
} catch ( e ) {
@@ -96,14 +96,13 @@ async function pipfileToRequirements() {
96
96
await spawn ( 'pipenv' , [ 'lock' ] , {
97
97
cwd : this . servicePath ,
98
98
} ) ;
99
+ res = await spawn ( 'pipenv' , [ 'requirements' ] , {
100
+ cwd : this . servicePath ,
101
+ } ) ;
99
102
} else {
100
103
throw e ;
101
104
}
102
105
}
103
-
104
- res = await spawn ( 'pipenv' , [ 'requirements' ] , {
105
- cwd : this . servicePath ,
106
- } ) ;
107
106
} else {
108
107
// Falling back to legacy pipenv syntax
109
108
res = await spawn (
You can’t perform that action at this time.
0 commit comments