backend import unification

This commit is contained in:
zadam
2021-06-29 22:15:57 +02:00
parent b9ff481eb7
commit b660238a40
64 changed files with 172 additions and 200 deletions

View File

@@ -2,7 +2,7 @@
const Expression = require('./expression');
const NoteSet = require('../note_set');
const becca = require('../../../becca/becca.js');
const becca = require('../../../becca/becca');
class BeccaFlatTextExp extends Expression {
constructor(tokens) {
@@ -13,7 +13,7 @@ class BeccaFlatTextExp extends Expression {
execute(inputNoteSet, executionContext) {
// has deps on SQL which breaks unit test so needs to be dynamically required
const beccaService = require('../../../becca/becca_service.js');
const beccaService = require('../../../becca/becca_service');
const resultNoteSet = new NoteSet();
function searchDownThePath(note, tokens, path) {