Store diagnostics in a codeql-action directory
This commit is contained in:
parent
eb71a60380
commit
2b193c5ab5
3 changed files with 7 additions and 3 deletions
|
|
@ -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`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue