@m8t-stack/cli 0.2.95 → 0.2.96
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/dist/cli.js +5 -2
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1487,7 +1487,7 @@ function installFoundryDnsShim() {
|
|
|
1487
1487
|
}
|
|
1488
1488
|
|
|
1489
1489
|
// src/lib/package-version.ts
|
|
1490
|
-
var CLI_VERSION = "0.2.
|
|
1490
|
+
var CLI_VERSION = "0.2.96";
|
|
1491
1491
|
|
|
1492
1492
|
// src/lib/render-error.ts
|
|
1493
1493
|
init_errors();
|
|
@@ -21005,9 +21005,12 @@ function parseAssignSubscriptionRoles(v) {
|
|
|
21005
21005
|
hint: "Use one of: true, false."
|
|
21006
21006
|
});
|
|
21007
21007
|
}
|
|
21008
|
+
function normalizeAzureLocation(location) {
|
|
21009
|
+
return location.trim().toLowerCase().replace(/\s+/g, "");
|
|
21010
|
+
}
|
|
21008
21011
|
function buildBicepParams(p) {
|
|
21009
21012
|
const params = [
|
|
21010
|
-
`location=${p.location}`,
|
|
21013
|
+
`location=${normalizeAzureLocation(p.location)}`,
|
|
21011
21014
|
`suffix=${p.suffix}`,
|
|
21012
21015
|
`imageRef=${p.imageRef}`,
|
|
21013
21016
|
`tenantId=${p.tenantId}`,
|