@forge/cli 11.3.0-next.22 → 11.3.0-next.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/cli",
|
|
3
|
-
"version": "11.3.0-next.
|
|
3
|
+
"version": "11.3.0-next.23",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@forge/cli",
|
|
9
|
-
"version": "11.3.0-next.
|
|
9
|
+
"version": "11.3.0-next.23",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
12
12
|
"dependencies": {
|
|
@@ -83,8 +83,7 @@ class InstallController {
|
|
|
83
83
|
];
|
|
84
84
|
}
|
|
85
85
|
async promptForSite(products) {
|
|
86
|
-
const
|
|
87
|
-
const isWorkspaceBased = products.length > 0 && this.supportedProductsService.isWorkspaceProduct(displayName);
|
|
86
|
+
const isWorkspaceBased = products.length > 0 && this.supportedProductsService.isWorkspaceProduct((0, cli_shared_1.productDisplayName)(products[0]));
|
|
88
87
|
const overviewText = isWorkspaceBased
|
|
89
88
|
? cli_shared_1.Text.installationContext.overviewWorkspace
|
|
90
89
|
: cli_shared_1.Text.installationContext.overviewSite;
|
|
@@ -97,7 +96,7 @@ class InstallController {
|
|
|
97
96
|
if (!trySite) {
|
|
98
97
|
throw new cli_shared_1.ValidationError(invalidText);
|
|
99
98
|
}
|
|
100
|
-
return this.supportedProductsService.validateSite(trySite,
|
|
99
|
+
return this.supportedProductsService.validateSite(trySite, products[0] && (0, cli_shared_1.productDisplayName)(products[0]));
|
|
101
100
|
}
|
|
102
101
|
async getAppInstallations(siteOption, productOption, environmentOption) {
|
|
103
102
|
const { installations } = await this.installationService.listNonTechnicalAppInstallations({
|