Skip to content

Commit 8d8373b

Browse files
authored
refactor: update comment
1 parent 097563b commit 8d8373b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/tools/newTaskTool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export async function newTaskTool(
4343

4444
cline.consecutiveMistakeCount = 0
4545
// Un-escape one level of backslashes before '@' for hierarchical subtasks
46-
// Un-escape one level: \\@ -> @ (This seems to be the observed behavior)
46+
// Un-escape one level: \\@ -> \@ (removes one backslash for hierarchical subtasks)
4747
const unescapedMessage = message.replace(/\\\\@/g, "\\@")
4848

4949
// Verify the mode exists

0 commit comments

Comments
 (0)