Comparing version 3.0.1 to 3.0.2
@@ -38,3 +38,3 @@ 'use strict'; | ||
file.exec.contents = file.contents; | ||
file.contents = new Buffer(stdout); // FRAGILE: if it wasn't a buffer it is now | ||
file.contents = new Buffer(stdout, opt.encoding); // FRAGILE: if it wasn't a buffer it is now | ||
} | ||
@@ -41,0 +41,0 @@ if (err && !opt.continueOnError) { |
{ | ||
"name": "gulp-exec", | ||
"description": "exec plugin for gulp", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"homepage": "https://github.com/robrich/gulp-exec", | ||
@@ -6,0 +6,0 @@ "repository": "git://github.com/robrich/gulp-exec.git", |
@@ -13,3 +13,3 @@ 'use strict'; | ||
var oldPath = env.PATH; | ||
var newPath = path.resolve(path.join(__dirname, '..', '..', '.bin')); | ||
var newPath = path.resolve(path.join(__dirname, '..', '.bin')); | ||
if (oldPath.indexOf(newPath) === -1) { | ||
@@ -16,0 +16,0 @@ newPath += path.delimiter; |
@@ -22,3 +22,3 @@ gulp-exec ![status](https://secure.travis-ci.org/robrich/gulp-exec.png?branch=master) | ||
stdout: true // default = true, false means don't write stdout | ||
} | ||
}; | ||
return gulp.src('./**/**') | ||
@@ -25,0 +25,0 @@ .pipe(exec('git checkout <%= file.path %> <%= options.customTemplatingThing %>', options)) |
7218
7