We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0df1390 + 8547efb commit 623959bCopy full SHA for 623959b
lib/project.ts
@@ -91,8 +91,8 @@ export class Project {
91
src() {
92
let configPath = path.dirname(this.configFileName)
93
let base: string;
94
- if (this.config.compilerOptions && this.config.compilerOptions.rootDir) {
95
- base = path.resolve(configPath, this.config.compilerOptions.rootDir);
+ if (this.options["rootDir"]) {
+ base = path.resolve(configPath, this.options["rootDir"]);
96
}
97
98
if (!this.config.files) {
0 commit comments