Update index.js

This commit is contained in:
Troplo 2022-07-29 23:03:07 +10:00
parent d8432f574b
commit 9d2689e291

View file

@ -237,7 +237,7 @@ async function configureDotEnv() {
async function init() {
while (true) {
const option = await input.select(`Please select an option`, [
"Setup",
"First-time setup",
"Create user",
"Run migrations",
"Update/create config file",
@ -246,7 +246,7 @@ async function init() {
"Exit"
])
if (option === "Setup") {
if (option === "First-time setup") {
// run yarn install in ../backend
console.log("Running yarn install")
execSync("cd ../backend && yarn install --frozen-lockfile", () => {