Comparing version 1.1.0 to 1.2.0
@@ -121,2 +121,6 @@ #! /usr/bin/env node | ||
if (!fileConfig.dest) { | ||
return process.stdout.write(rendered); | ||
} | ||
options.dest = options.dest || '.'; | ||
@@ -135,4 +139,2 @@ | ||
} | ||
log.success(`Successfully compiled ${dest}`); | ||
}); | ||
@@ -172,3 +174,3 @@ }); | ||
function validateFileConfig(fileConfig) { | ||
const requiredParams = ['template', 'dest']; | ||
const requiredParams = ['template']; | ||
@@ -175,0 +177,0 @@ let i = 0; |
@@ -12,3 +12,2 @@ { | ||
{ | ||
"dest": "about/index.html", | ||
"template": "layout", | ||
@@ -15,0 +14,0 @@ "locals": { |
{ | ||
"name": "ejs2html", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "A simple CLI for making HTML files from EJS templates.", | ||
@@ -5,0 +5,0 @@ "main": "cli.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
225
12895