diff --git a/filecheck/checker.js b/filecheck/checker.js index 4b9049656d82..bc892949fb87 100644 --- a/filecheck/checker.js +++ b/filecheck/checker.js @@ -62,9 +62,20 @@ async function checkFile(filePath, options) { throw new Error(`${filePath} does not appear to be an SVG`); } const $ = cheerio.load(content); - if ($("script").length) { - throw new Error(`${filePath} contains a