mirror of
https://github.com/kremalicious/blog.git
synced 2024-12-22 17:23:50 +01:00
output photo filename at end of script
This commit is contained in:
parent
f24d27244a
commit
b941f1ea84
@ -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]) {
|
||||
|
Loading…
Reference in New Issue
Block a user