chore: import only getCrumbs

This commit is contained in:
Ivan Verevkin
2019-07-23 14:00:05 +02:00
parent ec04a20b8d
commit 3e5da523ce
8 changed files with 9 additions and 33 deletions

View File

@@ -1,7 +1,4 @@
const { setupGetCrumbs, setupGetCommentsFromCode } = require('../default/codecrumbs');
const JAVA_COMMENT_REGEX = /^([^\/\/]*)\/\/(.*)$/;
const getCrumbs = setupGetCrumbs(setupGetCommentsFromCode(JAVA_COMMENT_REGEX));
const { getCrumbs } = require('../default/codecrumbs');
// replace with own implementation if needed
module.exports = {