Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
86f19de7d8 | |||
1b6b45f15f |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartscaf",
|
"name": "@pushrocks/smartscaf",
|
||||||
"version": "4.0.4",
|
"version": "4.0.5",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "scaffold projects quickly",
|
"description": "scaffold projects quickly",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
|
3
test/test_output/anothername.yml
Normal file
3
test/test_output/anothername.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# this is a wow
|
||||||
|
# this is a here
|
||||||
|
# this is a undefined variable
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@pushrocks/smartscaf',
|
name: '@pushrocks/smartscaf',
|
||||||
version: '4.0.4',
|
version: '4.0.5',
|
||||||
description: 'scaffold projects quickly'
|
description: 'scaffold projects quickly'
|
||||||
}
|
}
|
||||||
|
@ -151,7 +151,7 @@ export class ScafTemplate {
|
|||||||
smartfile.updateFileName(parsedTemplate.data.fileName);
|
smartfile.updateFileName(parsedTemplate.data.fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
smartfile.contents = Buffer.from(parsedTemplate.content);
|
smartfile.contents = Buffer.from(await plugins.smarthbs.postprocess(parsedTemplate.content));
|
||||||
smartfileArrayToWrite.push(smartfile);
|
smartfileArrayToWrite.push(smartfile);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user