chore: Remove DEPLOYMENT and SUBDOMAINS_ENABLED (#5742)
This commit is contained in:
@@ -10,7 +10,7 @@ export async function checkPendingMigrations() {
|
||||
try {
|
||||
const pending = await migrations.pending();
|
||||
if (!isEmpty(pending)) {
|
||||
if (env.isCloudHosted()) {
|
||||
if (env.isCloudHosted) {
|
||||
Logger.warn(chalk.red("Migrations are pending"));
|
||||
process.exit(1);
|
||||
} else {
|
||||
@@ -34,7 +34,7 @@ export async function checkPendingMigrations() {
|
||||
}
|
||||
|
||||
export async function checkDataMigrations() {
|
||||
if (env.isCloudHosted()) {
|
||||
if (env.isCloudHosted) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user