Skip to content

Commit

Permalink
Support comment lines in aggregation settings
Browse files Browse the repository at this point in the history
  • Loading branch information
livid committed Apr 21, 2024
1 parent 3133850 commit 9652bae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Planet/Entities/MyPlanetModel+Aggregate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ extension MyPlanetModel {
}
var newArticlesCount: Int = 0
for site in aggregation {
// Skip comments
if site.hasPrefix("#") || site.hasPrefix("//") {
continue
}
let siteType = determineSiteType(site: site)
debugPrint("Aggregation: fetching \(site)")
switch siteType {
Expand Down
2 changes: 1 addition & 1 deletion Planet/versioning.xcconfig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
CURRENT_PROJECT_VERSION = 1980
CURRENT_PROJECT_VERSION = 1981

0 comments on commit 9652bae

Please sign in to comment.