diff --git a/ass-x b/ass-x index 72edf80..43c8082 160000 --- a/ass-x +++ b/ass-x @@ -1 +1 @@ -Subproject commit 72edf800750e0453b47d5f08b03e395dc6ef4209 +Subproject commit 43c8082e78d01d26f2e6c944e73bca67bb1d5197 diff --git a/generators/gfycat.js b/generators/gfycat.js index d835fe0..f7ddefc 100644 --- a/generators/gfycat.js +++ b/generators/gfycat.js @@ -4,7 +4,7 @@ const animals = fs.readFileSync('./generators/gfycat/animals.txt').toString().sp // Don't trigger circular dependency during setup if (!require.main.filename.includes('setup.js')) - var MIN_LENGTH = require('../setup').gfyIdSize; + var MIN_LENGTH = require('../setup').gfyIdSize; // skipcq: JS-0239, JS-0102 function getWord(list, delim = '') { return list[Math.floor(Math.random() * list.length)].concat(delim); diff --git a/utils.js b/utils.js index ac3a369..1c1e490 100755 --- a/utils.js +++ b/utils.js @@ -11,7 +11,7 @@ const { HTTP, HTTPS, KILOBYTES } = require('./MagicNumbers.json'); // Catch config.json not existing when running setup script try { - var { useSsl, port, domain, isProxied, diskFilePath, saveWithDate, s3bucket, s3endpoint } = require('./config.json'); + var { useSsl, port, domain, isProxied, diskFilePath, saveWithDate, s3bucket, s3endpoint } = require('./config.json'); // skipcq: JS-0239, JS-0102 } catch (ex) { if (ex.code !== 'MODULE_NOT_FOUND') console.log(ex); }