npm package diff
Package: @forge/cli
Versions: 11.2.0 - 11.2.1-next.2-experimental-611b366
File: package/out/deploy/deployer/deployer.js
Index: package/out/deploy/deployer/deployer.js
===================================================================
--- package/out/deploy/deployer/deployer.js
+++ package/out/deploy/deployer/deployer.js
@@ -180,9 +180,14 @@
if (causeMessage?.toLowerCase().includes('egress')) {
throw new AppDeploymentFailedError(true, requestId, cli_shared_1.Text.deploy.egressURL.error(causeMessage));
}
if (causeMessage?.toLowerCase().includes('existing installations')) {
- throw new ExistingInstallationsError(true, requestId, cli_shared_1.Text.deploy.crossContext.error);
+ if (causeMessage.toLowerCase().includes('modified')) {
+ throw new ExistingInstallationsError(true, requestId, cli_shared_1.Text.deploy.crossContext.modifyError);
+ }
+ else {
+ throw new ExistingInstallationsError(true, requestId, cli_shared_1.Text.deploy.crossContext.enableError);
+ }
}
break;
}
case 'HOSTED_RESOURCE_TOO_MANY_FILES':