simpler-mocks
Advanced tools
Comparing version 1.6.4 to 1.6.5
{ | ||
"name": "simpler-mocks", | ||
"version": "1.6.4", | ||
"version": "1.6.5", | ||
"description": "REST API mock server made simple. Runs on Node with YAML and JSON mock definitions.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -48,3 +48,8 @@ #!/usr/bin/env node | ||
// exit gracefully | ||
process.on('SIGINT', process.exit) | ||
process.on('SIGTERM', process.exit) | ||
function exit(signal) { | ||
console.log(`Received signal: ${signal}, exiting`) | ||
process.exit(0) | ||
} | ||
process.on('SIGINT', exit) | ||
process.on('SIGTERM', exit) |
@@ -43,4 +43,4 @@ const Koa = require('koa') | ||
const instance = koa.listen(port, function() { | ||
console.log(`Simpler-Mocks running at: http://localhost:${this.address().port}`) | ||
console.log('Serving files from: ', cache.mocksDirectory) | ||
console.log(`\nSimpler-Mocks running at: http://localhost:${this.address().port}`) | ||
console.log(`Serving files from: ${cache.mocksDirectory}\n`) | ||
}) | ||
@@ -47,0 +47,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29518
652