Comparing version 0.0.1 to 0.0.2
@@ -7,2 +7,3 @@ #!/usr/bin/env node | ||
const fs = require('fs'); | ||
const path = require('path'); | ||
@@ -22,3 +23,3 @@ const matrix = require('./lib/matrix'); | ||
const fullACC = acc.getFullMatrix(); | ||
const template = fs.readFileSync('lib/templates/table.hbs', 'utf8'); | ||
const template = fs.readFileSync(path.join(__dirname, 'lib/templates/table.hbs'), 'utf8'); | ||
const compiledTemplate = handlebars.compile(template); | ||
@@ -25,0 +26,0 @@ fs.writeFileSync('output.html', compiledTemplate({body: fullACC, attributes: acc.getMatrix().attributes}), 'utf8'); |
{ | ||
"name": "covereye", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "", | ||
@@ -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
7327
80