@autorest/powershell 4.0.641 → 4.0.642
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/.rush/temp/operation/build/state.json +1 -1
- package/.rush/temp/package-deps_build.json +4 -4
- package/package.json +1 -1
- package/resources/templates/azureServiceClient.ejs +1 -1
- package/resources/templates/serviceClientBody.ejs +1 -1
- package/resources/templates/serviceClientInterface.ejs +1 -1
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"powershell/models/model-extensions.ts": "f0c617b9bfb04b4424a853e1b1eecba9059ba788",
|
|
76
76
|
"powershell/module/module-class.ts": "327af665b5d81e4cc1b8fa9da7382e9c73300de5",
|
|
77
77
|
"powershell/module/module-namespace.ts": "f6afc90087e8d733f0323b0de8ba41d923955732",
|
|
78
|
-
"powershell/package.json": "
|
|
78
|
+
"powershell/package.json": "369d7e9ad596ed08990e96c80dd0192d00fb72cc",
|
|
79
79
|
"powershell/plugins/add-azure-completers-v2.ts": "3b1ddf7a067dbac2f07561fb3f6cbf1b66e555aa",
|
|
80
80
|
"powershell/plugins/create-commands-v2.ts": "915b737aad5f455a9cd0aa4e08034349a2de8ea0",
|
|
81
81
|
"powershell/plugins/cs-namer-v2.ts": "1b64031416f18b604950012b5683758adefce535",
|
|
@@ -336,7 +336,7 @@
|
|
|
336
336
|
"powershell/resources/signing/MSSharedLibKey.snk": "695f1b38774e839e5b90059bfb7f32df1dff4223",
|
|
337
337
|
"powershell/resources/templates/azureMethod.ejs": "0775d58b9a22a4df8fc3591d886608dfd1118340",
|
|
338
338
|
"powershell/resources/templates/azureMethodGroup.ejs": "513b65001fb860185a3a185361ae535355a7b1b3",
|
|
339
|
-
"powershell/resources/templates/azureServiceClient.ejs": "
|
|
339
|
+
"powershell/resources/templates/azureServiceClient.ejs": "6b183ef620cdb3e2467f209cf4deb1fb8bc6d9d3",
|
|
340
340
|
"powershell/resources/templates/enum.ejs": "cf3d2020750fcef6092f2f8e572e4dda12e967ef",
|
|
341
341
|
"powershell/resources/templates/exception.ejs": "beadbc77e1d586aa3400c00f245f11bf60f7a204",
|
|
342
342
|
"powershell/resources/templates/extensionMethod.ejs": "e8a69bb4892a2c020150b92afe0d8631ffe6a81d",
|
|
@@ -348,8 +348,8 @@
|
|
|
348
348
|
"powershell/resources/templates/methodGroupInterfaceBody.ejs": "73ad0b0fe8544cc2f9766cbc26c212aca0876a88",
|
|
349
349
|
"powershell/resources/templates/model.ejs": "2ebf9803e8576bf59b9787984456c3a73a00475e",
|
|
350
350
|
"powershell/resources/templates/page.ejs": "657e785359b8255e84e8d81d0cf33340578ff654",
|
|
351
|
-
"powershell/resources/templates/serviceClientBody.ejs": "
|
|
352
|
-
"powershell/resources/templates/serviceClientInterface.ejs": "
|
|
351
|
+
"powershell/resources/templates/serviceClientBody.ejs": "8f62e7726f7bf10a62d849a2841eb44552a432ba",
|
|
352
|
+
"powershell/resources/templates/serviceClientInterface.ejs": "5f3fa02ca39ad8553305b970ff22d95a2790aaaf",
|
|
353
353
|
"powershell/resources/utils/Unprotect-SecureString.ps1": "cb05b51a6220840d617a439a947a359f8685a05d",
|
|
354
354
|
"powershell/sdk/project.ts": "063b21d84e9acf5fd5da69f710cb7f0c9ce18b1a",
|
|
355
355
|
"powershell/sdk/state.ts": "841874bde0a6b674660f812e68b68c7e2b13a47f",
|
package/package.json
CHANGED
|
@@ -28,7 +28,7 @@ namespace <%- project.namespace %>
|
|
|
28
28
|
/// </summary>
|
|
29
29
|
private void Initialize()
|
|
30
30
|
{
|
|
31
|
-
<% project.model.operationGroups.forEach(function(methodGroup){ -%>
|
|
31
|
+
<% project.model.operationGroups.filter(methodGroup => methodGroup.$key != '').forEach(function(methodGroup){ -%>
|
|
32
32
|
<% var key = methodGroup.$key == 'Operations' ? '' : methodGroup.$key-%>
|
|
33
33
|
this.<%- project.helper.PascalCase(methodGroup.$key) %> = new <%- project.helper.PascalCase(key) %>Operations(this);
|
|
34
34
|
<% }); -%>
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
public <%- type %> <%- parameter.language.default.name%> { get; set;}
|
|
24
24
|
<% }%>
|
|
25
25
|
<%});-%>
|
|
26
|
-
<% project.model.operationGroups.forEach(function(methodGroup){ -%>
|
|
26
|
+
<% project.model.operationGroups.filter(methodGroup => methodGroup.$key != '').forEach(function(methodGroup){ -%>
|
|
27
27
|
<% var key = methodGroup.$key == 'Operations' ? '' : methodGroup.$key-%>
|
|
28
28
|
/// <summary>
|
|
29
29
|
/// Gets the I<%- project.helper.PascalCase(key) %>Operations
|
|
@@ -42,7 +42,7 @@ namespace <%- project.namespace %>
|
|
|
42
42
|
<% }%>
|
|
43
43
|
|
|
44
44
|
<% }); -%>
|
|
45
|
-
<% project.model.operationGroups.forEach(function(methodGroup){ -%>
|
|
45
|
+
<% project.model.operationGroups.filter(methodGroup => methodGroup.$key != '').forEach(function(methodGroup){ -%>
|
|
46
46
|
<% var key = methodGroup.$key == 'Operations' ? '' : methodGroup.$key-%>
|
|
47
47
|
/// <summary>
|
|
48
48
|
/// Gets the I<%- project.helper.PascalCase(key) %>Operations
|