Skip to content

Commit a569555

Browse files
committed
Add quotes around names when logging name changes
1 parent 037aa8c commit a569555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/server/src/worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export class TinyDO extends WsServerDurableObject<Env> {
6969

7070
if (previousKeepItem) {
7171
if (newKeepItem.name !== previousKeepItem.name) {
72-
console.log(`[KEEP] Name changed from ${previousKeepItem.name} to ${newKeepItem.name}`)
72+
console.log(`[KEEP] Name changed from "${previousKeepItem.name}" to "${newKeepItem.name}"`)
7373
this.shoppingList.renameItem(newKeepItem.id, newKeepItem.name)
7474
}
7575

0 commit comments

Comments
 (0)