fix partial name creation

This commit is contained in:
2017-05-12 14:24:59 +02:00
parent f3f7d1d5fe
commit 93adff5c6d
3 changed files with 13 additions and 11 deletions

View File

@ -16,6 +16,7 @@ export let compileDirectory = async (
let template = plugins.handlebars.compile(hbsFileString)
let output = template(data)
console.log('hi ' + output + ' hi')
await plugins.smartfile.fs.ensureDir(destinationDirPathArg)
plugins.smartfile.memory.toFsSync(output, plugins.path.join(destinationDirPathArg, parsedPath.name + '.html'))
}
}