File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed
Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ import {
3232} from "../common/fetchers" ;
3333import { print } from "src/utils" ;
3434import Sentry from "../../common/sentry" ;
35- import { ensureConsent } from "../common/consent" ;
3635
3736const globals : {
3837 coverageReport ?: FileCoverageReport ;
@@ -60,11 +59,6 @@ function init(): Promise<void> {
6059
6160async function main ( ) : Promise < void > {
6261 try {
63- const consent = await ensureConsent ( ) ;
64- if ( ! consent ) {
65- return ;
66- }
67-
6862 const urlMetadata = getMetadataFromURL ( ) ;
6963 if ( ! urlMetadata ) {
7064 print ( "file not detected at current URL" ) ;
Original file line number Diff line number Diff line change @@ -15,19 +15,13 @@ import { print } from "src/utils";
1515import { getPRReport } from "../common/fetchers" ;
1616import { isPrUrl } from "../common/utils" ;
1717import Sentry from "src/content/common/sentry" ;
18- import { ensureConsent } from "../common/consent" ;
1918
2019const globals : {
2120 coverageReport ?: PullCoverageReport ;
2221} = { } ;
2322
2423async function main ( ) {
2524 try {
26- const consent = await ensureConsent ( { checkOnly : true } ) ;
27- if ( ! consent ) {
28- return ;
29- }
30-
3125 document . addEventListener ( "soft-nav:end" , execute ) ;
3226 await execute ( ) ;
3327 } catch ( e ) {
You can’t perform that action at this time.
0 commit comments