Skip to content

Commit

Permalink
modinfo cmd supports mod name with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxiao921 committed Sep 10, 2021
1 parent c05ac7d commit cf04328
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CHEF/Components/Commands/Info.cs
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ public async Task ModInfo(
[Summary("The mod to get info from")]
string modName)
{
modName = modName.Replace(' ', '_');
PackageV1 modInfo;
try
{
Expand Down

0 comments on commit cf04328

Please sign in to comment.