Skip to content

Commit

Permalink
fix import path resolving to absolute rather than project root (juanf…
Browse files Browse the repository at this point in the history
  • Loading branch information
chanleyou committed Jun 12, 2024
1 parent 39efb5e commit 488a8ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/model/sourceDocument.ts
Original file line number Diff line number Diff line change
@@ -62,7 +62,7 @@ export class SourceDocument {
}
}
}
return importPath;
return path.resolve(this.project.projectPackage.absoluletPath, importPath);
}

public getAllImportFromPackages() {

0 comments on commit 488a8ec

Please sign in to comment.