From a0bb3dfedaf64e18cfecc7c1d18a0e335d220616 Mon Sep 17 00:00:00 2001 From: KX-Apple <57068530+AnAppleforlife@users.noreply.github.com> Date: Mon, 3 May 2021 22:38:48 +0200 Subject: [PATCH] Changes as proposed in #59 Updated module requirement --- funi.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/funi.js b/funi.js index 280200f..83c20fd 100644 --- a/funi.js +++ b/funi.js @@ -21,10 +21,11 @@ const crypto = require("crypto"); const got = require('got'); // extra -const appYargs = require('./modules/module.app-args'); -const getYamlCfg = require('./modules/module.cfg-loader'); -const getData = require('./modules/module.getdata.js'); -const vttConvert = require('./modules/module.vttconvert'); +const moduleFolder = path.join(__dirname, "/modules") +const appYargs = require(path.join(moduleFolder, 'module.app-args')); +const getYamlCfg = require(path.join(moduleFolder, 'module.cfg-loader')); +const getData = require(path.join(moduleFolder, 'module.getdata.js')); +const vttConvert = require(path.join(moduleFolder, 'module.vttconvert')); // new-cfg const cfgFolder = path.join(__dirname, '/config');