Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pre_commit_hooks/vscode.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


def filter_findings(findings, configuration):
return list(filter(lambda finding: finding["controlName"] not in configuration, findings))
return list(filter(lambda finding: finding["controlName"] in configuration, findings))


def main():
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = jit_ide_pre_commit_hooks
version = 0.0.2
version = 0.0.3
url = https://github.com/jitsecurity/ide-pre-commit-hooks
license = MIT
license_file = LICENSE
Expand Down