Skip to content

Commit

Permalink
Merge pull request #57 from florianeckerstorfer/patch-1
Browse files Browse the repository at this point in the history
Return path in rename by function example
  • Loading branch information
contra committed Sep 25, 2015
2 parents 7db2069 + 6cf0627 commit ba5ab6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -24,7 +24,8 @@ gulp.src("./src/**/hello.txt")
.pipe(rename(function (path) {
path.dirname += "/ciao";
path.basename += "-goodbye";
path.extname = ".md"
path.extname = ".md";
return path;
}))
.pipe(gulp.dest("./dist")); // ./dist/main/text/ciao/hello-goodbye.md

Expand Down

0 comments on commit ba5ab6d

Please sign in to comment.