Skip to content

Commit 05a52c8

Browse files
committed
refactor: clean up remove unused code
1 parent ebf3fab commit 05a52c8

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

packages/angular/cli/models/command.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import {
1616
CommandDescriptionMap,
1717
CommandScope,
1818
Option,
19-
SubCommandDescription,
2019
} from './interface';
2120

2221
export interface BaseCommandOptions {

packages/angular_devkit/build_angular/src/karma/tests/options/code-coverage_spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* found in the LICENSE file at https://angular.io/license
77
*/
88

9-
import { first, last, tap } from 'rxjs/operators';
9+
import { last, tap } from 'rxjs/operators';
1010
import { promisify } from 'util';
1111
import { execute } from '../../index';
1212
import { BASE_OPTIONS, KARMA_BUILDER_INFO, describeBuilder } from '../setup';

packages/ngtools/webpack/src/resource_loader.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,13 +202,11 @@ export class WebpackResourceLoader {
202202
);
203203

204204
let finalContent: string | undefined;
205-
let finalMap: string | undefined;
206205
childCompiler.hooks.compilation.tap('angular-compiler', (childCompilation) => {
207206
childCompilation.hooks.processAssets.tap(
208207
{ name: 'angular-compiler', stage: webpack.Compilation.PROCESS_ASSETS_STAGE_REPORT },
209208
() => {
210209
finalContent = childCompilation.assets[outputFilePath]?.source().toString();
211-
finalMap = childCompilation.assets[outputFilePath + '.map']?.source().toString();
212210

213211
delete childCompilation.assets[outputFilePath];
214212
delete childCompilation.assets[outputFilePath + '.map'];

0 commit comments

Comments
 (0)