Skip to content

Commit ce95562

Browse files
committed
Use database finalization log instead
1 parent f2d9bba commit ce95562

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

hackathon/generate-extras.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#!/bin/bash
22
set -eu
33

4-
# Find database log location
5-
find / | grep log
6-
74
# Run extra queries
85
/opt/hostedtoolcache/CodeQL/0.0.0-20201106/x64/codeql/codeql database run-queries /home/runner/work/_temp/codeql_databases/javascript \
96
./hackathon/LinesOfCode.ql \

hackathon/script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def main(args):
7070
print("Merging Lines of comment results")
7171
merge_results('hackathon/LinesOfComment.csv', 'Lines of comment', summarize_lines_of_code, sarif)
7272
print("Merging database creation log")
73-
merge_log('/home/runner/work/_temp/codeql_databases/javascript/log/database-create-*', 'Database creation log', sarif)
73+
merge_log('/home/runner/work/_temp/codeql_databases/javascript/log/database-finalize-*', 'Database creation log', sarif)
7474
print("Merging remote flow sources")
7575
merge_results('hackathon/RemoteFlowSources.csv', 'Remote flow sources', summarize_locations, sarif)
7676
print("Writing sarif")

0 commit comments

Comments
 (0)