Unverified Commit f4a6b621 authored by Aral Balkan's avatar Aral Balkan
Browse files

Ignoring updated template “(Trackers)” token

parent 63c1cc9b
......@@ -90,7 +90,7 @@ class Statistics
pathToDraftSiteMarkdown = path.join draftSitesPath, draftSite, 'index.md'
(fs.readFileAsync pathToDraftSiteMarkdown, 'utf-8').then (draftSiteContent) =>
match = (trackersRegExp.exec draftSiteContent)[1].replace(' * Trackers', '').replace(/ /g, '').replace(/\* /g, '').trim()
match = (trackersRegExp.exec draftSiteContent)[1].replace(' * (Trackers)', '').replace(/ /g, '').replace(/\* /g, '').trim()
lines = match.split("\n")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment