Skip to content

Commit 6c8077a

Browse files
authored
fix: Correct DNT selector logic (#242)
1 parent 77791ef commit 6c8077a

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "c2pa",
5+
"comment": "Correct DNT selector logic",
6+
"type": "patch"
7+
}
8+
],
9+
"packageName": "c2pa"
10+
}

packages/c2pa/src/selectors/selectDoNotTrain.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,5 @@ export function selectDoNotTrain(manifest: Manifest): boolean {
5959
[],
6060
);
6161

62-
return disallowedActions.length === 0;
62+
return disallowedActions.length !== 0;
6363
}

0 commit comments

Comments
 (0)