From 1f7191c753655ceeb7fe92612b3ecfb99ae7cb09 Mon Sep 17 00:00:00 2001 From: Charles Samborski Date: Thu, 18 Jan 2018 09:58:21 +0100 Subject: [PATCH] Fix error in ES2015 usage example The task `clean` was defined twice and the `build` task was missing in the ES2015 example. This commit renames the second `clean` task to `build` to match the ES5 example. Closes gulpjs/gulp#2099 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3fd3f6fe5..1d6e35c7e 100644 --- a/README.md +++ b/README.md @@ -197,8 +197,8 @@ export { watchFiles as watch }; * You can still use `gulp.task` * for example to set task names that would otherwise be invalid */ -const clean = gulp.series(clean, gulp.parallel(styles, scripts)); -gulp.task('clean', clean); +const build = gulp.series(clean, gulp.parallel(styles, scripts)); +gulp.task('build', build); /* * Export a default task