Skip to content

Commit d420a6a

Browse files
jakearchibaldphated
authored andcommitted
Docs: Have gulp.lastRun take a function to avoid task registration (#1828)
1 parent 29ece6f commit d420a6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ const paths = {
205205
}
206206

207207
function images() {
208-
return gulp.src(paths.images.src, {since: gulp.lastRun('images')})
208+
return gulp.src(paths.images.src, {since: gulp.lastRun(images)})
209209
.pipe(imagemin({optimizationLevel: 5}))
210210
.pipe(gulp.dest(paths.images.dest));
211211
}

0 commit comments

Comments
 (0)