mirror of
https://github.com/typicode/json-server.git
synced 2025-07-29 21:23:41 +08:00
Enhance output
This commit is contained in:
@ -120,7 +120,7 @@ module.exports = function (argv) {
|
||||
var filename = 'db-' + Date.now() + '.json'
|
||||
var file = path.join(argv.snapshots, filename)
|
||||
app.db.saveSync(file)
|
||||
console.log(' Saved snapshot to ' + file + '\n')
|
||||
console.log(' Saved snapshot to ' + path.relative(process.cwd(), file) + '\n')
|
||||
}
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user