Skip to content

Commit

Permalink
Fix installerurls prompt (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryfu-msft authored Sep 9, 2021
1 parent 6f160c9 commit bf6c640
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/WingetCreateCLI/PromptHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public static void PromptValue<T>(string message, object model, string memberNam
/// <param name="minimum">Minimum number of entries required for the list.</param>
/// <param name="validationModel">Object model to be validated against if the target field differs from what is specified in the model (i.e. NewCommand.InstallerUrls).</param>
/// <param name="validationName">Name of the property field to be used for looking up validation constraints if the target field name differs from what specified in the model.</param>
public static void PromptList<T>(string message, object model, string memberName, List<T> instance, int minimum = 0, object validationModel = null, string validationName = null)
public static void PromptList<T>(string message, object model, string memberName, IEnumerable<T> instance, int minimum = 0, object validationModel = null, string validationName = null)
{
var property = model.GetType().GetProperty(memberName);
Type instanceType = typeof(T);
Expand Down
2 changes: 1 addition & 1 deletion src/WingetCreateCLI/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/WingetCreateCLI/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@
<value>Collection of installer switches</value>
</data>
<data name="Tags_KeywordDescription" xml:space="preserve">
<value>List of additional package search terms |e.g. Tag1, Tag2, Tag3|</value>
<value>List of additional package search terms</value>
</data>
<data name="TokenCommand_HelpText" xml:space="preserve">
<value>Modifies the GitHub auth token cache</value>
Expand Down

0 comments on commit bf6c640

Please sign in to comment.