Skip to content

Commit

Permalink
Quote event names in event log invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
jonlamb-gh committed Aug 9, 2024
1 parent 0a0f8df commit 98cc526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vscode/src/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ export class EventNameTreeItemData {
getModalityLogCommandArgs(): modalityLog.ModalityLogCommandArgs {
const literalTimelineId = "%" + this.timelineId.replace(/-/g, "");
return new modalityLog.ModalityLogCommandArgs({
thingToLog: `${this.eventName}@*(_.timeline.id=${literalTimelineId})`,
thingToLog: `'${this.eventName}'@*(_.timeline.id=${literalTimelineId})`,
});
}
}
Expand Down

0 comments on commit 98cc526

Please sign in to comment.