Skip to content

Commit e1a6444

Browse files
committed
Update release
1 parent d2e0054 commit e1a6444

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release/compiler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ var ProjectCompiler = (function () {
5656
// We cannot use the `rootDir` option here, since that gives errors if the commonSourceDirectory points to a
5757
// directory containing the rootDir instead of the rootDir, which will break the build when using `noEmitOnError`.
5858
// The empty file is filtered out later on.
59-
var emptyFileName = path.join(this.project.options['rootDir'] || root, '________________empty.ts');
59+
var emptyFileName = path.join(this.project.options['rootDir'] ? path.resolve(this.project.projectDirectory, this.project.options['rootDir']) : root, '________________empty.ts');
6060
rootFilenames.push(emptyFileName);
6161
this.project.input.addContent(emptyFileName, '');
6262
}

0 commit comments

Comments
 (0)