Comparing version 1.3.17 to 1.3.18
@@ -278,3 +278,3 @@ var fs ; | ||
tagDef = JSON.parse(fs.readFileSync(tagFile, {encoding: 'utf8'})); | ||
if (!tagDef.renderer || !tagDef.template) { | ||
if (!tagDef.renderer && !tagDef.template) { | ||
if (fs.existsSync(rendererFile)) { | ||
@@ -285,3 +285,3 @@ tagDef.renderer = rendererFile; | ||
} else { | ||
throw new Error('Invalid tag. Neither a renderer or a template was found for tag.'); | ||
throw new Error('Invalid tag file: ' + tagFile + '. Neither a renderer or a template was found for tag.'); | ||
} | ||
@@ -288,0 +288,0 @@ } |
@@ -61,3 +61,3 @@ { | ||
}, | ||
"version": "1.3.17" | ||
"version": "1.3.18" | ||
} |
Sorry, the diff of this file is not supported yet
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
440931