From f4acc35cba6538ae22ea1b17ea0f9e173cd08b7f Mon Sep 17 00:00:00 2001 From: Ibrahim Hadeed Date: Sat, 27 Aug 2016 14:02:29 -0400 Subject: [PATCH] chore(): fix plugin:create --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 03ed13d2..863bcfbf 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -34,7 +34,7 @@ gulp.task('lint', function() { gulp.task('plugin:create', function(){ if(flags.n && flags.n !== ''){ var src = flags.m?'./TEMPLATE-MIN':'./TEMPLATE'; - return gulp.src() + return gulp.src(src) .pipe(replace('PluginName', flags.n)) .pipe(rename(decamelize(flags.n, '-') + '.ts')) .pipe(gulp.dest('./src/plugins/'));