mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -04:00
rename prodnew to prod
This commit is contained in:
parent
470c4c4e51
commit
aa92d759ea
2 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@ module.exports = {
|
|||
onBefore: context => context.user.isClientOwner,
|
||||
onCancel: () => { },
|
||||
run: async (context) => {
|
||||
if (process.env.environment !== "prodnew") return await editOrReply(context, createEmbed("error", context, "Cannot deploy on this instance."))
|
||||
if (process.env.environment.toLowerCase() !== "prod") return await editOrReply(context, createEmbed("error", context, "Cannot deploy on this instance."))
|
||||
await editOrReply(context, createEmbed("loading", context, "Querying deploy..."))
|
||||
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue