mirror of
https://github.com/ckaczor/FeedCenter.git
synced 2026-01-23 09:35:39 -05:00
Some cleanup
This commit is contained in:
@@ -26,7 +26,7 @@ namespace FeedCenter
|
||||
var endPosition = commandLine.IndexOf(" ", startPosition, StringComparison.Ordinal);
|
||||
|
||||
// Extract the feed URL
|
||||
var feedUrl = commandLine.Substring(startPosition, endPosition - startPosition);
|
||||
var feedUrl = commandLine[startPosition..endPosition];
|
||||
|
||||
// Add the HTTP protocol by default
|
||||
feedUrl = "http://" + feedUrl;
|
||||
|
||||
Reference in New Issue
Block a user