mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
refactor: remove log
This commit is contained in:
@@ -379,7 +379,6 @@ module.exports = function (Topics) {
|
|||||||
content = content.split('\n').filter(line => !line.trim().startsWith('>')).join('\n');
|
content = content.split('\n').filter(line => !line.trim().startsWith('>')).join('\n');
|
||||||
// Scan post content for topic links
|
// Scan post content for topic links
|
||||||
const matches = [...content.matchAll(backlinkRegex)];
|
const matches = [...content.matchAll(backlinkRegex)];
|
||||||
console.log('match', matches);
|
|
||||||
if (!matches) {
|
if (!matches) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user