mirror of
https://github.com/github/codeql-action.git
synced 2025-12-29 02:30:11 +08:00
Store diagnostics in a codeql-action directory
This commit is contained in:
@@ -81,7 +81,11 @@ export function makeDiagnostic(
|
||||
*/
|
||||
export function addDiagnostic(config: Config, diagnostic: DiagnosticMessage) {
|
||||
const logger = getActionsLogger();
|
||||
const diagnosticsPath = path.resolve(config.dbLocation, "diagnostic");
|
||||
const diagnosticsPath = path.resolve(
|
||||
config.dbLocation,
|
||||
"diagnostic",
|
||||
"codeql-action",
|
||||
);
|
||||
const jsonPath = path.resolve(
|
||||
diagnosticsPath,
|
||||
`codeql-action-${diagnostic.timestamp}.json`,
|
||||
|
||||
Reference in New Issue
Block a user