tidy up
This commit is contained in:
parent
9e28ddf3c1
commit
50b0759642
|
@ -1,7 +1,6 @@
|
|||
#!/usr/bin/env node
|
||||
const compose = require("docker-compose")
|
||||
const path = require("path")
|
||||
const readline = require("readline")
|
||||
|
||||
// This script wraps docker-compose allowing you to manage your dev infrastructure with simple commands.
|
||||
const CONFIG = {
|
||||
|
@ -32,7 +31,7 @@ async function up() {
|
|||
try {
|
||||
await compose.upAll(CONFIG)
|
||||
} catch (err) {
|
||||
console.log("something went wrong:", err.message)
|
||||
console.log("Something went wrong:", err.message)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -41,7 +40,7 @@ async function down() {
|
|||
try {
|
||||
await compose.stop(CONFIG)
|
||||
} catch (err) {
|
||||
console.log("something went wrong:", err.message)
|
||||
console.log("Something went wrong:", err.message)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -52,7 +51,7 @@ async function nuke() {
|
|||
try {
|
||||
await compose.down(CONFIG)
|
||||
} catch (err) {
|
||||
console.log("something went wrong:", err.message)
|
||||
console.log("Something went wrong:", err.message)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue