moved becca to top level source dir

This commit is contained in:
zadam
2021-05-17 22:09:49 +02:00
parent 8bd3e17a3b
commit 439ef4a8cb
58 changed files with 118 additions and 118 deletions

View File

@@ -1,7 +1,7 @@
const becca = require('./becca/becca');
const becca = require('../becca/becca.js');
function getOption(name) {
const option = require('./becca/becca').getOption(name);
const option = require('../becca/becca.js').getOption(name);
if (!option) {
throw new Error(`Option "${name}" doesn't exist`);
@@ -57,7 +57,7 @@ function setOption(name, value) {
function createOption(name, value, isSynced) {
// to avoid circular dependency, need to find better solution
const Option = require('../services/becca/entities/option');
const Option = require('../becca/entities/option.js');
new Option({
name: name,