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 @@ -54,16 +54,15 @@ async function prepareResults(cached?: boolean): Promise<AderynReport> {
5454 } ;
5555 }
5656
57- const projectRootUri = await getProjectRootPrefixFromAderynToml (
58- findProjectRoot ( workspaceRoot ) ,
59- ) ;
57+ const projectRootUri = findProjectRoot ( workspaceRoot ) ;
58+ const prefix = await getProjectRootPrefixFromAderynToml ( projectRootUri ) ;
6059
6160 // Generate report
6261 if ( cached && cachedReport ) {
6362 return {
6463 type : 'Success' ,
6564 report : cachedReport ,
66- projectRootUri,
65+ projectRootUri : prefix ,
6766 } ;
6867 } else {
6968 try {
@@ -72,7 +71,7 @@ async function prepareResults(cached?: boolean): Promise<AderynReport> {
7271 return {
7372 type : 'Success' ,
7473 report,
75- projectRootUri,
74+ projectRootUri : prefix ,
7675 } ;
7776 } catch ( err ) {
7877 logger . err ( `${ JSON . stringify ( err ) } ` ) ;
You can’t perform that action at this time.
0 commit comments