From 54b80098d220a3eaf07b3c3a2fb28f106a319e16 Mon Sep 17 00:00:00 2001 From: ulrichb Date: Sat, 8 Dec 2018 18:57:10 +0000 Subject: [PATCH] Fix sample code in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d3bb1cf..cdaa920 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,8 @@ let myAsyncFunction = async (file, enc) => { gulp.task("gulpTest", function() { let stream = gulp .src("./mydir/*.something") - .pipe(gulpFunction(myFunction, "forEach")) //read the notes below - // .pipe(forEach(myFunction)) // if imported as >> import { forEach } from 'gulp-function' << + .pipe(gulpFunction(myAsyncFunction, "forEach")) //read the notes below + // .pipe(forEach(myAsyncFunction)) // if imported as >> import { forEach } from 'gulp-function' << .pipe(gulp.dest("./build/")); return stream; // by returning the stream gulp knows when our task has finished. });