DeepSource suppression (intentional code practice)

pull/22/head
tycrek 4 years ago
parent 39433ebc93
commit d2c8451d11
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

@ -1 +1 @@
Subproject commit 72edf800750e0453b47d5f08b03e395dc6ef4209
Subproject commit 43c8082e78d01d26f2e6c944e73bca67bb1d5197

@ -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);

@ -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);
}

Loading…
Cancel
Save