Skip to content

Commit ff1786b

Browse files
author
Nicholas Bergesen
committed
Fix bug
1 parent 42b9b22 commit ff1786b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Nick.RobotsParser/RobotsParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public async Task<bool> LoadRobotsFromUrl(string robotsUrl)
109109
throw new ArgumentException($"Unable to create uri from: {robotsUrl}");
110110

111111
_robotsContent = await WebRequest(robots.ToString());
112-
if (!string.IsNullOrWhiteSpace(_robotsContent)) return false;
112+
if (string.IsNullOrWhiteSpace(_robotsContent)) return false;
113113

114114
await ParseRobots();
115115
return true;

0 commit comments

Comments
 (0)