Apply fixes suggested by Prettier to fix CI
This commit is contained in:
parent
ff886846a8
commit
3a84290314
@ -159,7 +159,7 @@ module.exports = {
|
||||
//
|
||||
// This value is set to `50` kilobytes by default.
|
||||
prefetchMaxSearchSize: 50,
|
||||
|
||||
|
||||
// ### `prefetchTimeout`
|
||||
//
|
||||
// When `prefetch` is enabled, this value sets the number of milliseconds
|
||||
|
@ -12,7 +12,6 @@ const imageTypeRegex = /^image\/.+/;
|
||||
const mediaTypeRegex = /^(audio|video)\/.+/;
|
||||
const log = require("../../log");
|
||||
|
||||
|
||||
module.exports = function (client, chan, msg, cleanText) {
|
||||
if (!Helper.config.prefetch) {
|
||||
return;
|
||||
@ -386,7 +385,9 @@ function fetch(uri, headers) {
|
||||
const prefetchTimeout = Helper.config.prefetchTimeout;
|
||||
|
||||
if (!prefetchTimeout) {
|
||||
log.warn("prefetchTimeout is missing from your The Lounge configuration, defaulting to 5000 ms");
|
||||
log.warn(
|
||||
"prefetchTimeout is missing from your The Lounge configuration, defaulting to 5000 ms"
|
||||
);
|
||||
}
|
||||
|
||||
promise = new Promise((resolve, reject) => {
|
||||
|
Loading…
Reference in New Issue
Block a user