File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ executeSynchronous(async () => {
34
34
let localPath = args [ 'local-path' ] ;
35
35
let summaryPath = args [ 'summary-log-path' ] ;
36
36
37
+ // localPath refers to the specs repo (azure-rest-api-specs)
37
38
if ( ! localPath ) {
38
39
localPath = constants . specsRepoPath ;
39
40
basePaths = await cloneAndGenerateBasePaths ( localPath , constants . specsRepoUri , constants . specsRepoCommitHash ) ;
@@ -43,8 +44,9 @@ executeSynchronous(async () => {
43
44
}
44
45
45
46
if ( ! summaryPath ) {
46
- // generate default full path
47
- summaryPath = path . join ( constants . specsRepoPath , 'summary.log' ) ;
47
+ // using 'localPath' here because at this point it is guaranteed that the folder got created (when cloneAndGenerateBasePaths function is invoked)
48
+ // or is an existing path
49
+ summaryPath = path . join ( localPath , 'summary.log' ) ;
48
50
}
49
51
50
52
// resolve absolute path
You can’t perform that action at this time.
0 commit comments