Remove obsolete ts-ignore
This commit is contained in:
parent
5fe2e9b948
commit
033f1c7a64
1 changed files with 0 additions and 1 deletions
|
@ -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>()
|
||||
|
|
Loading…
Reference in a new issue