@forge/cli-shared
9.7.0-next.14-experimental-fd0ebbc9.7.0-next.16
out/ui/text.js~
out/ui/text.jsModified+2−2
Index: package/out/ui/text.js
===================================================================
--- package/out/ui/text.js
+++ package/out/ui/text.js
@@ -6,9 +6,9 @@
const manifest_1 = require("@forge/manifest");
const case_1 = require("case");
const chalk_1 = tslib_1.__importDefault(require("chalk"));
const terminal_link_1 = tslib_1.__importDefault(require("terminal-link"));
-const graphql_runtime_enums_1 = require("../graphql/graphql-runtime-enums");
+const graphql_types_1 = require("../graphql/graphql-types");
const cli_details_1 = require("../shared/cli-details");
const environment_1 = require("../shared/environment");
const developer_console_1 = require("../shared/developer-console");
const installations_1 = require("../shared/installations");
@@ -440,9 +440,9 @@
appNotExist: `Your app could not be found. Make sure the app details in the manifest.yml file are correct before trying again.`,
envNotExist: (envKey) => `Environment ${chalk_1.default.bold((0, environment_1.environmentToOption)(envKey))} does not exist. Check the environment name and try again.`
},
displayEnvironment: (envKey, envType) => {
- if (envType === graphql_runtime_enums_1.AppEnvironmentType.Development &&
+ if (envType === graphql_types_1.AppEnvironmentType.Development &&
envKey !== environment_1.DEFAULT_ENVIRONMENT_KEY &&
envKey !== environment_1.DEFAULT_ENVIRONMENT_OPTION) {
return `${chalk_1.default.gray('DEV')} ${(0, environment_1.environmentToOption)(envKey)}`;
}