Remove obsolete ts-ignore

This commit is contained in:
Pieter Vander Vennet 2024-05-23 12:07:28 +02:00
parent 5fe2e9b948
commit 033f1c7a64

View file

@ -81,7 +81,6 @@ const cachedHashes: Record<string, string> = {}
async function validateScriptIntegrityOf(path: string): Promise<void> {
const htmlContents = readFileSync(path, "utf8")
const doc = parse_html(htmlContents)
// @ts-ignore
const scripts = Array.from(doc.getElementsByTagName("script"))
// Maps source URL onto hash
const failed = new Set<string>()