Comparing version 1.1.0 to 1.1.1
@@ -135,5 +135,6 @@ var through = require('through2'); | ||
props.attachment = contents.toString('base64'); | ||
props.type = 'binary_asset'; | ||
props.tmpl_type = 'binary_asset'; | ||
} else { | ||
props.body = contents.toString(); | ||
props.tmpl_type = 'text'; | ||
@@ -145,6 +146,9 @@ var keyParts = key.split('.'); | ||
gutil.log(gutil.colors.green('Found js/css/svg/json')); | ||
props.type = 'asset'; | ||
props.tmpl_type = 'asset'; | ||
} | ||
} | ||
// For backwards compability copy value to type | ||
props.type = props.tmpl_type | ||
function onUpdate(res) { | ||
@@ -151,0 +155,0 @@ var index = queue.indexOf(filepath); |
{ | ||
"name": "gulp-blok", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Tool to publish blok templates and assets", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
6702
198