Skip to content

Commit 2b193c5

Browse files
committed
Store diagnostics in a codeql-action directory
1 parent eb71a60 commit 2b193c5

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

lib/diagnostics.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/diagnostics.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/diagnostics.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,11 @@ export function makeDiagnostic(
8181
*/
8282
export function addDiagnostic(config: Config, diagnostic: DiagnosticMessage) {
8383
const logger = getActionsLogger();
84-
const diagnosticsPath = path.resolve(config.dbLocation, "diagnostic");
84+
const diagnosticsPath = path.resolve(
85+
config.dbLocation,
86+
"diagnostic",
87+
"codeql-action",
88+
);
8589
const jsonPath = path.resolve(
8690
diagnosticsPath,
8791
`codeql-action-${diagnostic.timestamp}.json`,

0 commit comments

Comments
 (0)