Skip to content

Commit 08011ef

Browse files
committed
Fix unattended check
1 parent 9797acb commit 08011ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotnet-trx/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
static async Task<string[]> CheckUpdates(string[] args)
5353
{
54-
if (args.Contains("-u") && !args.Contains("--unattended"))
54+
if (args.Contains("-u") || args.Contains("--unattended"))
5555
return [];
5656

5757
var providers = Repository.Provider.GetCoreV3();

0 commit comments

Comments
 (0)