Comparing version 0.1.4 to 0.1.5
@@ -9,2 +9,3 @@ 'use strict'; | ||
settings = settings || {}; | ||
options = options || {}; | ||
settings.ext = settings.ext || '.html'; | ||
@@ -14,2 +15,3 @@ | ||
try { | ||
options.filename = options.filename || file.path; | ||
file.contents = new Buffer(ejs.render(file.contents.toString(), options)); | ||
@@ -16,0 +18,0 @@ file.path = gutil.replaceExtension(file.path, settings.ext); |
{ | ||
"name": "gulp-ejs", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "A plugin for Gulp that parses ejs template files", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7854
94