templates
Advanced tools
Comparing version 0.11.1 to 0.11.2
@@ -203,3 +203,4 @@ 'use strict'; | ||
if (utils.hasGlob(views)) { | ||
throw new Error('glob patterns are not supported by addViews'); | ||
var name = '"' + this.options.plural + '"'; | ||
throw new Error('glob patterns are not supported by the ' + name + ' collection'); | ||
} | ||
@@ -237,3 +238,4 @@ if (Array.isArray(views)) { | ||
if (utils.hasGlob(list)) { | ||
throw new Error('glob patterns are not supported by addList'); | ||
var name = '"' + this.options.plural + '"'; | ||
throw new Error('glob patterns are not supported by the ' + name + ' collection'); | ||
} | ||
@@ -240,0 +242,0 @@ if (!Array.isArray(list)) { |
{ | ||
"name": "templates", | ||
"description": "System for creating and managing template collections, and rendering templates with any node.js template engine. Can be used as the basis for creating a static site generator or blog framework.", | ||
"version": "0.11.1", | ||
"version": "0.11.2", | ||
"homepage": "https://github.com/jonschlinkert/templates", | ||
@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", |
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
139935
3500