@forge/cli
11.5.0-next.11-experimental-9e772ae11.5.0-next.23
out/command-line/controller/pre-command-controller.js~
out/command-line/controller/pre-command-controller.jsModified+8−2
Index: package/out/command-line/controller/pre-command-controller.js
===================================================================
--- package/out/command-line/controller/pre-command-controller.js
+++ package/out/command-line/controller/pre-command-controller.js
@@ -60,11 +60,17 @@
return preference;
}
};
}
- verifyRuntimeVersion() {
+ showRuntimeWarning() {
return async () => {
- const manifest = await this.configReader.readConfig();
+ let manifest;
+ try {
+ manifest = await this.configReader.readConfig();
+ }
+ catch (error) {
+ return;
+ }
const runtimeName = manifest.app.runtime.name;
const deprecatedRuntimes = await this.statsigService.getDeprecatedRuntimes();
if (deprecatedRuntimes.includes(runtimeName)) {
this.view.displayRuntimeDeprecationMessage(runtimeName);