Format code with prettier

This commit fixes the style issues introduced in 2e49c66 according to the output
from prettier.

Details: https://deepsource.io/gh/MillenniumEarl/F95API/transform/74b785b0-6043-432a-9c60-d6a61bc39153/
pull/10/head
deepsource-autofix[bot] 2020-10-09 14:45:17 +00:00 committed by GitHub
parent 2e49c66eca
commit f98405bb15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 23 deletions

View File

@ -2,7 +2,7 @@
// Public modules from npm
const ky = require("ky-universal").create({
throwHttpErrors: false
throwHttpErrors: false,
});
// Modules from file
@ -32,7 +32,7 @@ module.exports.isStringAValidURL = function(url) {
} catch (err) {
return false;
}
}
};
/**
* @public
@ -43,7 +43,7 @@ module.exports.isStringAValidURL = function(url) {
*/
module.exports.urlExists = async function (url, checkRedirect) {
if (!this.isStringAValidURL(url)) {
return false
return false;
}
const response = await ky.head(url);
@ -57,4 +57,4 @@ module.exports.urlExists = async function(url, checkRedirect) {
}
return valid;
}
};