From 2b6789fc14382c28fa0ebf2d9f67e2c661ab9606 Mon Sep 17 00:00:00 2001 From: Martin Feldsztejn Date: Mon, 12 Apr 2021 21:41:39 -0300 Subject: [PATCH] Change log to debug instead of log --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 61bce5c..481d8eb 100644 --- a/index.js +++ b/index.js @@ -20,7 +20,7 @@ async function generatePdf(file, options, callback) { const page = await browser.newPage(); if(file.content) { - console.log("Compiling the template with handlebars") + console.debug("Compiling the template with handlebars") // we have compile our code with handlebars const template = hb.compile(file.content, { strict: true }); const result = template(file.content); @@ -61,7 +61,7 @@ async function generatePdfs(files, options, callback) { const page = await browser.newPage(); for(let file of files) { if(file.content) { - console.log("Compiling the template with handlebars") + console.debug("Compiling the template with handlebars") // we have compile our code with handlebars const template = hb.compile(file.content, { strict: true }); const result = template(file.content);