Skip to content

Commit a753dd8

Browse files
committed
Debug: log database path
1 parent cc356e1 commit a753dd8

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

lib/diagnostics.js

+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

+1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ export function addDiagnostic(
105105
// Check that the database exists before writing to it. If the database does not yet exist,
106106
// store the diagnostic in memory and write it later.
107107
if (existsSync(databasePath)) {
108+
logger.info(`Writing a diagnostic to ${databasePath}`);
108109
writeDiagnostic(config, language, diagnostic);
109110
} else {
110111
logger.info(

0 commit comments

Comments
 (0)