File tree 1 file changed +3
-3
lines changed
packages/angular_devkit/build_angular/src/tslint
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ async function _run(config: TslintBuilderOptions, context: BuilderContext): Prom
47
47
const printInfo = [ 'prose' , 'verbose' , 'stylish' ] . includes ( options . format || '' )
48
48
&& ! options . silent ;
49
49
50
- context . status ( `Linting ${ JSON . stringify ( projectName ) } ...` ) ;
50
+ context . reportStatus ( `Linting ${ JSON . stringify ( projectName ) } ...` ) ;
51
51
if ( printInfo ) {
52
52
context . logger . info ( `Linting ${ JSON . stringify ( projectName ) } ...` ) ;
53
53
}
@@ -65,7 +65,7 @@ async function _run(config: TslintBuilderOptions, context: BuilderContext): Prom
65
65
let result : undefined | tslint . LintResult = undefined ;
66
66
if ( options . tsConfig ) {
67
67
const tsConfigs = Array . isArray ( options . tsConfig ) ? options . tsConfig : [ options . tsConfig ] ;
68
- context . progress ( 0 , tsConfigs . length ) ;
68
+ context . reportProgress ( 0 , tsConfigs . length ) ;
69
69
const allPrograms = tsConfigs . map ( tsConfig => {
70
70
return Linter . createProgram ( path . resolve ( systemRoot , tsConfig ) ) ;
71
71
} ) ;
@@ -93,7 +93,7 @@ async function _run(config: TslintBuilderOptions, context: BuilderContext): Prom
93
93
}
94
94
}
95
95
96
- context . progress ( ++ i , allPrograms . length ) ;
96
+ context . reportProgress ( ++ i , allPrograms . length ) ;
97
97
}
98
98
} else {
99
99
result = await _lint ( projectTslint , systemRoot , tslintConfigPath , options ) ;
You can’t perform that action at this time.
0 commit comments