We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a3a900 commit ad4d0ccCopy full SHA for ad4d0cc
packages/angular/build/src/utils/index-file/auto-csp.ts
@@ -134,7 +134,7 @@ export async function autoCsp(html: string): Promise<string> {
134
scriptContent.push({
135
src: src,
136
type: scriptType,
137
- async: !(getScriptAttributeValue(tag, 'async') === undefined),
+ async: getScriptAttributeValue(tag, 'async') !== undefined,
138
defer: !(getScriptAttributeValue(tag, 'defer') === undefined),
139
});
140
return; // Skip writing my script tag until we've read it all.
0 commit comments