Skip to content

Commit 7648cb1

Browse files
committed
fix: 🐛 allow early validation
1 parent d738d7c commit 7648cb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export class CspDirectives {
6868
this.ReferrerHeader = csp.referrer;
6969
}
7070
}
71-
private checkReportTo (){
71+
checkReportTo (): void {
7272
const reportTo = this.CSP?.['report-to'];
7373
if (reportTo === undefined) return;
7474
else {

0 commit comments

Comments
 (0)