Skip to content
Snippets Groups Projects
Commit b5487826 authored by Akihiko Odaki's avatar Akihiko Odaki
Browse files

Invoke a constructor with parentheses

parent 6503beec
No related merge requests found
......@@ -24,7 +24,7 @@ export default async function resolve(query, verifier?: string): Promise<IWebFin
if (typeof verifier === 'string') {
if (subject !== verifier) {
throw new Error;
throw new Error();
}
return finger;
......@@ -34,5 +34,5 @@ export default async function resolve(query, verifier?: string): Promise<IWebFin
return resolve(subject, subject);
}
throw new Error;
throw new Error();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment