Skip to content

Commit a2b8b36

Browse files
committed
Linting
1 parent 237fcfe commit a2b8b36

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,13 @@ export class TypeScriptFileRefactor {
5555
if (!this._program) {
5656
return [];
5757
}
58-
let diagnostics:ts.Diagnostic[] = this._program.getSyntacticDiagnostics(this._sourceFile)
59-
.concat(this._program.getSemanticDiagnostics(this._sourceFile));
58+
let diagnostics: ts.Diagnostic[] = this._program.getSyntacticDiagnostics(this._sourceFile)
59+
.concat(this._program.getSemanticDiagnostics(this._sourceFile));
6060
// only concat the declaration diagnostics if the tsconfig config sets it to true.
61-
if (this._program.getCompilerOptions().declaration == true){
61+
if (this._program.getCompilerOptions().declaration == true) {
6262
diagnostics = diagnostics.concat(this._program.getDeclarationDiagnostics(this._sourceFile));
6363
}
6464
return diagnostics;
65-
66-
6765
}
6866

6967
/**

0 commit comments

Comments
 (0)