Skip to content

Commit 88825ad

Browse files
committed
fix: Use HasHttpConnection instead of HasConnection
1 parent 07c673a commit 88825ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Atc.CodingRules.Updater.CLI/Commands/RunCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public override Task<int> ExecuteAsync(
2121
private async Task<int> ExecuteInternalAsync(
2222
RunCommandSettings settings)
2323
{
24-
if (!NetworkInformationHelper.HasConnection())
24+
if (!NetworkInformationHelper.HasHttpConnection())
2525
{
2626
System.Console.WriteLine("This tool requires internet connection!");
2727
return ConsoleExitStatusCodes.Failure;

0 commit comments

Comments
 (0)