Skip to content

Commit 897aa33

Browse files
author
Bob Brinks
committed
Fixed lint issues
1 parent b572862 commit 897aa33

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/@ngtools/webpack/src/compiler_host.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,14 @@ export class WebpackCompilerHost implements ts.CompilerHost {
119119
if (path[0] == '.') {
120120
path = join(this.getCurrentDirectory(), path);
121121
} else if (path[0] == '/' || path.match(/^\w:\//)) {
122-
//return path;
122+
// return path;
123123
} else {
124124
path = join(this._basePath, path);
125125
}
126-
if( fs.existsSync(path) ) // FIX symlink duplication in npm linked modules (#3875)
126+
// FIX symlink duplication in npm linked modules (#3875)
127+
if (fs.existsSync(path)) {
127128
path = fs.realpathSync(path);
129+
}
128130
return path;
129131
}
130132

0 commit comments

Comments
 (0)