git ssb

0+

cel / ssb-wikimedia



Commit 3bf62a253764d1bba98ca1c421b3cc0a685d4ec2

Fix comment detection

cel committed on 6/28/2020, 12:27:10 PM
Parent: 0389ecbccd2198e6eb15ba4994eab71e7a9e3b31

Files changed

bin.jschanged
bin.jsView
@@ -133,9 +133,9 @@
133133
134134 if (urls.length === 0) {
135135 var pagesFile = path.join(config.path, 'wikimedia-pages.txt')
136136 var pagesData = fs.readFileSync(pagesFile, 'utf8')
137- urls = pagesData.split('\n').filter(RegExp.prototype.test.bind(/[^#]/))
137 + urls = pagesData.split('\n').filter(RegExp.prototype.test.bind(/^[^#]/))
138138 if (!urls.length) {
139139 console.log('No pages to sync.')
140140 return sbot.close()
141141 }

Built with git-ssb-web