Skip to content

Commit cec11c7

Browse files
committed
refactor: add log message to instructions
1 parent 4930279 commit cec11c7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

instructions.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const templates = ['app.ts', 'cors.ts', 'hash.ts']
1919
export default function instructions (
2020
projectRoot: string,
2121
application: ApplicationContract,
22-
{ TemplateFile }: typeof sinkStatic,
22+
{ TemplateFile, kleur }: typeof sinkStatic,
2323
) {
2424
templates.forEach((filename) => {
2525
const dest = `${application.directoriesMap.get('config')}/${filename}`
@@ -28,5 +28,7 @@ export default function instructions (
2828
new TemplateFile(projectRoot, dest, src)
2929
.apply({})
3030
.commit()
31+
32+
console.log(` create ${kleur.green(`config/${filename}`)}`)
3133
})
3234
}

0 commit comments

Comments
 (0)