1
0
Fork 0

output photo filename at end of script

This commit is contained in:
Matthias Kretschmann 2019-02-11 20:57:26 +01:00
parent f24d27244a
commit b941f1ea84
Signed by: m
GPG Key ID: 606EEEF3C479A91F
1 changed files with 3 additions and 1 deletions

View File

@ -45,7 +45,9 @@ if (isPhoto) {
fs.appendFile(filePhoto, newContentsPhoto, err => {
if (err) spinner.fail(`Error creating photo post: ${err}`)
spinner.succeed(`New post '${title}' created.`)
spinner.succeed(
`New photo post '${title}' created.\n\n Use ${dateShort}-${titleSlug}.jpg as the photo file name.`
)
})
} else {
if (process.argv[3]) {