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 .tool_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.15.1
1.16.1
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG OPENGREP_VERSION=v1.15.1
ARG OPENGREP_VERSION=v1.16.1

# Build codacy-opengrep wrapper
FROM golang:1.23-alpine3.21 as builder
Expand Down
4 changes: 2 additions & 2 deletions internal/tool/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ func createCommandParameters(language string, configurationFile *os.File, filesT
"--timeout", "5",
"--timeout-threshold", "3",
"--max-target-bytes", "0",
//"--taint-intrafile",
"--taint-intrafile",
//"--pro",
//"--error-recovery",
//"--max-memory", "2560",
"--max-memory", "2560",
Comment on lines +87 to +90
Copy link

Copilot AI Feb 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test file internal/tool/command_test.go has not been updated to reflect the newly enabled command parameters. The test at lines 42-54 includes commented-out expectations for "-error_recovery" and "-max_memory", but does not expect "--taint-intrafile" or "--max-memory" "2560" which are now active in the production code. This test should be updated to verify that these flags are present in the command parameters.

Copilot uses AI. Check for mistakes.
//"-j", strconv.Itoa(runtime.NumCPU()),
//"-fast",
// adding pro features
Expand Down