From d420a6a742af91dcfc3e5a83f7552d2a8114471f Mon Sep 17 00:00:00 2001 From: Jake Archibald Date: Mon, 24 Oct 2016 12:48:33 +0100 Subject: [PATCH] Docs: Have gulp.lastRun take a function to avoid task registration (#1828) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8b8ce9bc5..7f9996807 100644 --- a/README.md +++ b/README.md @@ -205,7 +205,7 @@ const paths = { } function images() { - return gulp.src(paths.images.src, {since: gulp.lastRun('images')}) + return gulp.src(paths.images.src, {since: gulp.lastRun(images)}) .pipe(imagemin({optimizationLevel: 5})) .pipe(gulp.dest(paths.images.dest)); }