Skip to content

Commit 342a771

Browse files
authored
fix interpolation in logging strings (#1719)
## Checklist - [/] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/) - [/] I have updated the [docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and [cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet) - [/] I have not broken the cheatsheet
1 parent 6831391 commit 342a771

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cursorless-engine/src/testCaseRecorder/TestCaseRecorder.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,9 +401,9 @@ export class TestCaseRecorder {
401401
if (action === "Delete") {
402402
await fs.unlink(outPath, (err) => {
403403
if (err) {
404-
console.log("failed to delete ${outPath}: ${err}");
404+
console.log(`failed to delete ${outPath}: ${err}`);
405405
} else {
406-
console.log("deleted ${outPath}");
406+
console.log(`deleted ${outPath}`);
407407
}
408408
});
409409
}

0 commit comments

Comments
 (0)