dotnet / HttpRepl

The HTTP Read-Eval-Print Loop (REPL) is a lightweight, cross-platform command-line tool that's supported everywhere .NET Core is supported and is used for making HTTP requests to test ASP.NET Core web APIs and view their results.
MIT License
700 stars 69 forks source link

Delete useless null check for CommandTestsBase #626

Closed kurnakovv closed 11 months ago

kurnakovv commented 12 months ago

Hi! Thank you for this tool! ;)

I read code and found duplicate null check. As you can see, this null check is useless, because here we already check path by null

Hope my changes make your code better ;)

tlmii commented 11 months ago

Thanks for the PR!