Skip to content

Commit

Permalink
Remove some verbose log
Browse files Browse the repository at this point in the history
  • Loading branch information
Camilo Quimbayo committed Oct 9, 2017
1 parent 249ecbb commit 0cdf6ec
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/template.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ var reqTemplate = function(viewsPath, opts, log) {
// Build templates data
tplData = loadTemplates(),
tplListJs = getTemplateListJs(tplData.hashes),
// Custom validators
// Custom validations
hashRegexp = new RegExp("^[a-f0-9]{" + opts.hashLength + "}$"),
fileRegexp = new RegExp(tplListJs.name + "|\\.jade\\.js$");

Expand Down Expand Up @@ -206,10 +206,6 @@ var reqTemplate = function(viewsPath, opts, log) {
hash = hash.digest("hex");
hash = hash.substr(0, opts.hashLength);

if (log) {
log.debug("Compile templates %s with hash %s", templateName, hash);
}

return {
hash: hash,
name: templateName,
Expand Down

0 comments on commit 0cdf6ec

Please sign in to comment.