linty
This commit is contained in:
parent
37c47cc124
commit
2fd2f1de45
|
@ -17,9 +17,7 @@ const run = async opts => {
|
||||||
exec(`cd ${join(opts.dir, opts.applicationId)} && npm install`)
|
exec(`cd ${join(opts.dir, opts.applicationId)} && npm install`)
|
||||||
console.log(chalk.green(`Budibase app ${opts.name} created!`))
|
console.log(chalk.green(`Budibase app ${opts.name} created!`))
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(
|
console.error(chalk.red("Error creating new app", error))
|
||||||
chalk.red("Error creating new app", error)
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -52,10 +50,10 @@ const createAppInstance = async opts => {
|
||||||
const instanceController = require("@budibase/server/src/api/controllers/instance")
|
const instanceController = require("@budibase/server/src/api/controllers/instance")
|
||||||
const createInstCtx = {
|
const createInstCtx = {
|
||||||
params: {
|
params: {
|
||||||
clientId: process.env.CLIENT_ID
|
clientId: process.env.CLIENT_ID,
|
||||||
},
|
},
|
||||||
user: {
|
user: {
|
||||||
appId: opts.applicationId
|
appId: opts.applicationId,
|
||||||
},
|
},
|
||||||
request: {
|
request: {
|
||||||
body: { name: `dev-${process.env.CLIENT_ID}` },
|
body: { name: `dev-${process.env.CLIENT_ID}` },
|
||||||
|
|
Loading…
Reference in New Issue