diff --git a/lib/cli.js b/lib/cli.js index 2a9fe3b..0dc787c 100644 --- a/lib/cli.js +++ b/lib/cli.js @@ -56,9 +56,7 @@ var parseOptionsFile = require(__dirname + '/parseOptionsFile'); function writeCompiled (result, srcPath, callback) { if (outDir) { srcPath = srcPath.replace(/\.ejs$/, ''); - if (!/\./.test(srcPath)) { - srcPath += '.html'; - } + srcPath += '.html'; srcPath = srcPath.replace(baseDir, ''); var dest = path.join(outDir, srcPath);