Skip to content

Commit

Permalink
Debug: log database path
Browse files Browse the repository at this point in the history
  • Loading branch information
mbg committed Apr 11, 2024
1 parent cc356e1 commit a753dd8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/diagnostics.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/diagnostics.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/diagnostics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export function addDiagnostic(
// Check that the database exists before writing to it. If the database does not yet exist,
// store the diagnostic in memory and write it later.
if (existsSync(databasePath)) {
logger.info(`Writing a diagnostic to ${databasePath}`);
writeDiagnostic(config, language, diagnostic);
} else {
logger.info(
Expand Down

0 comments on commit a753dd8

Please sign in to comment.