style: remove unnecessary function whitespace

Remove the unnecessary whitespace between the function name or the
'function' keyword and the opening parenthesis.
This commit is contained in:
2026-08-09 13:09:39 +02:00
committed by Gitea
parent 6bf315e4b8
commit 995e77b69a
31 changed files with 55 additions and 55 deletions
@@ -17,7 +17,7 @@ limitations under the License.
import { FetchError } from '../errors';
import { getAssetsUrl } from '@/config/env';
const fetchHtml = async function fetchHtml (url, options) {
const fetchHtml = async function fetchHtml(url, options) {
let response;
try {
response = await fetch(url, options);
@@ -29,7 +29,7 @@ const fetchHtml = async function fetchHtml (url, options) {
else throw new FetchError();
};
export const getLegalNotice = async function getLegalNotice () {
export const getLegalNotice = async function getLegalNotice() {
const legalNoticeUrl = new URL('legal/legal_notice.html', getAssetsUrl()).href;
const html = await fetchHtml(legalNoticeUrl);