@autorest/powershell 4.0.675 → 4.0.676

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.
@@ -75,7 +75,7 @@
75
75
  "powershell/models/model-extensions.ts": "f0c617b9bfb04b4424a853e1b1eecba9059ba788",
76
76
  "powershell/module/module-class.ts": "2f8b0b4d28f59761dbe9a95bf7555c8ec0585387",
77
77
  "powershell/module/module-namespace.ts": "f6afc90087e8d733f0323b0de8ba41d923955732",
78
- "powershell/package.json": "8e83a4727a586dc755df4c247e835bd1b7aa6413",
78
+ "powershell/package.json": "e28744e4870600c5fb004415c7ce1ddaecb3613a",
79
79
  "powershell/plugins/add-azure-completers-v2.ts": "3b1ddf7a067dbac2f07561fb3f6cbf1b66e555aa",
80
80
  "powershell/plugins/create-commands-v2.ts": "f32d1501654f58ebd8bfe30f2aa3937c4cac45c2",
81
81
  "powershell/plugins/cs-namer-v2.ts": "1b64031416f18b604950012b5683758adefce535",
@@ -222,13 +222,13 @@
222
222
  "powershell/resources/psruntime/BuildTime/Cmdlets/GetModuleGuid.cs": "e8d5baed5d143fc557c4a3b0aefd14308f32fac2",
223
223
  "powershell/resources/psruntime/BuildTime/Cmdlets/GetScriptCmdlet.cs": "1b136635ba83a4df5990669d0094092692b49b12",
224
224
  "powershell/resources/psruntime/BuildTime/CollectionExtensions.cs": "c9e0c8a57c8d5affe7fa1b0da3a9bc1212609dc0",
225
- "powershell/resources/psruntime/BuildTime/MarkdownRenderer.cs": "68b9e6ce2d7cd8ea23e59a253d3f2146c699df74",
225
+ "powershell/resources/psruntime/BuildTime/MarkdownRenderer.cs": "e8c3896a1b305d424abec25daefd9cb3549a694b",
226
226
  "powershell/resources/psruntime/BuildTime/Models/PsFormatTypes.cs": "40fffed4474e6e4c2d7a057370a2aa036001b09a",
227
227
  "powershell/resources/psruntime/BuildTime/Models/PsHelpMarkdownOutputs.cs": "056be554968d76667c0659d169f674ef5dbb74ed",
228
228
  "powershell/resources/psruntime/BuildTime/Models/PsHelpTypes.cs": "34d832146757eab7d8e1bd3feba5d411577f388a",
229
229
  "powershell/resources/psruntime/BuildTime/Models/PsMarkdownTypes.cs": "c2c068932d2e4ab31a46d566e7b24f357f68c6f8",
230
230
  "powershell/resources/psruntime/BuildTime/Models/PsProxyOutputs.cs": "7c04bdae14142b93a1ddde2afefa36a85585b00e",
231
- "powershell/resources/psruntime/BuildTime/Models/PsProxyTypes.cs": "3c9b339661ee59ce34f68c7a8c04d6f6b5e30e17",
231
+ "powershell/resources/psruntime/BuildTime/Models/PsProxyTypes.cs": "1c1081400b0fac6e4d1be5fb6c3f23eeda7ef0ec",
232
232
  "powershell/resources/psruntime/BuildTime/PsAttributes.cs": "06d994f77ab1052048edccf0d2b6ba7e6021ce0a",
233
233
  "powershell/resources/psruntime/BuildTime/PsExtensions.cs": "52083232ddc161a0f41496cbdf979d709c490194",
234
234
  "powershell/resources/psruntime/BuildTime/PsHelpers.cs": "c9bae00316dedb24a93eeebf73b2728fe9447494",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autorest/powershell",
3
- "version": "4.0.675",
3
+ "version": "4.0.676",
4
4
  "description": "AutoRest PowerShell Cmdlet Generator",
5
5
  "main": "dist/exports.js",
6
6
  "typings": "dist/exports.d.ts",
@@ -94,7 +94,7 @@ namespace Microsoft.Rest.ClientRuntime.PowerShell
94
94
  sb.Append($"## RELATED LINKS{Environment.NewLine}{Environment.NewLine}");
95
95
  foreach (var relatedLink in markdownInfo.RelatedLinks)
96
96
  {
97
- sb.Append($"{relatedLink}{Environment.NewLine}{Environment.NewLine}");
97
+ sb.Append($"[{relatedLink}]({relatedLink}){Environment.NewLine}{Environment.NewLine}");
98
98
  }
99
99
 
100
100
  File.WriteAllText(Path.Combine(docsFolder, $"{markdownInfo.CmdletName}.md"), sb.ToString());
@@ -308,7 +308,7 @@ namespace Microsoft.Rest.ClientRuntime.PowerShell
308
308
  IsMandatory = ParameterAttribute.Mandatory;
309
309
 
310
310
  var complexParameterName = ParameterName.ToUpperInvariant();
311
- var complexMessage = $"{Environment.NewLine}To construct, see NOTES section for {complexParameterName} properties and create a hash table.";
311
+ var complexMessage = $"{Environment.NewLine}.";
312
312
  var description = ParameterAttribute.HelpMessage.NullIfEmpty() ?? HelpInfo.Description.NullIfEmpty() ?? InfoAttribute?.Description.NullIfEmpty() ?? String.Empty;
313
313
  // Remove the complex type message as it will be reinserted if this is a complex type
314
314
  description = description.NormalizeNewLines().Replace(complexMessage, String.Empty).Replace(complexMessage.ToPsSingleLine(), String.Empty);