Skip to content

Commit

Permalink
fix(codeqlExecuteScan): Fix working directory (#4597)
Browse files Browse the repository at this point in the history
  • Loading branch information
sumeetpatil authored Sep 25, 2023
1 parent 9b6a465 commit 33067a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/codeqlExecuteScan.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ func runCodeqlExecuteScan(config *codeqlExecuteScanOptions, telemetryData *telem
}

var reports []piperutils.Path
cmd := []string{"database", "create", config.Database, "--overwrite", "--source-root", config.ModulePath}
cmd := []string{"database", "create", config.Database, "--overwrite", "--source-root", ".", "--working-dir", config.ModulePath}

language := getLangFromBuildTool(config.BuildTool)

Expand Down

0 comments on commit 33067a5

Please sign in to comment.