Skip to content

Commit efef044

Browse files
josephperrottkara
authored andcommitted
build: complete removal of gulp format (angular#37147)
Remove gulp format deprecation message to complete the removal of formatting Typescript and Javascript files via gulp command. PR Close angular#37147
1 parent 74d8b23 commit efef044

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

gulpfile.js

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -33,29 +33,3 @@ gulp.task('changelog:zonejs', loadTask('changelog-zonejs'));
3333
gulp.task('check-env', () => {/* this is a noop because the env test ran already above */});
3434
gulp.task('cldr:extract', loadTask('cldr', 'extract'));
3535
gulp.task('cldr:gen-closure-locale', loadTask('cldr', 'closure'));
36-
37-
38-
// TODO(josephperrott): Remove old task entries and deprecation notice after deprecation period.
39-
/** Notify regarding `gulp format:*` deprecation. */
40-
function gulpFormatDeprecationNotice() {
41-
console.info(`######################################################################`)
42-
console.info(`gulp format is deprecated in favor of running the formatter via ng-dev`);
43-
console.info();
44-
console.info(`You can find more usage information by running:`);
45-
console.info(` yarn ng-dev format --help`);
46-
console.info();
47-
console.info(`For more on the rationale and effects of this deprecation visit:`);
48-
console.info(` https://github.com/angular/angular/pull/36726#issue-406278018`);
49-
console.info(`######################################################################`)
50-
process.exit(1);
51-
}
52-
gulp.task('format:all', gulpFormatDeprecationNotice);
53-
gulp.task('format:all:enforce', gulpFormatDeprecationNotice);
54-
gulp.task('format:untracked', gulpFormatDeprecationNotice);
55-
gulp.task('format:untracked:enforce', gulpFormatDeprecationNotice);
56-
gulp.task('format:diff', gulpFormatDeprecationNotice);
57-
gulp.task('format:diff:enforce', gulpFormatDeprecationNotice);
58-
gulp.task('format:changed', gulpFormatDeprecationNotice);
59-
gulp.task('format:changed:enforce', gulpFormatDeprecationNotice);
60-
gulp.task('format', gulpFormatDeprecationNotice);
61-
gulp.task('lint', gulpFormatDeprecationNotice);

0 commit comments

Comments
 (0)