Skip to content

Commit

Permalink
Testing again
Browse files Browse the repository at this point in the history
  • Loading branch information
that-jill committed Nov 6, 2024
1 parent 3c6c880 commit 8b4d754
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
5 changes: 0 additions & 5 deletions bearer.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,5 @@
"comment": "Ignoring this finding for now",
"false_positive": false,
"ignored_at": "2024-11-06T20:12:15Z"
},
"2314bd71cca49a48fe84485b966be0b6_1": {
"author": "Jill Klang",
"false_positive": false,
"ignored_at": "2024-11-06T20:13:18Z"
}
}
4 changes: 1 addition & 3 deletions packages/consent/lib/consent/dsl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,13 @@ def with_defaults(new_defaults, &block)
def eval_view(key, label, collection_conditions)
view key, label do |user|
eval(collection_conditions)
# made to fail
eval(collection_conditions)
eval(collection_conditions)
end
end
# rubocop:enable Lint/UnusedBlockArgument, Security/Eval

def view(key, label, instance = nil, collection = nil, &block)
collection ||= block
eval(collection)
@subject.views[key] = View.new(key, label, instance, collection)
end

Expand Down

0 comments on commit 8b4d754

Please sign in to comment.