Comfy-Org / Comfy-Org/ComfyUI_frontend

fix: correct over-escaped node -e payload in .claude/settings.json

Open
#9,801 0 comments 0 reactions 1 assignee Claimed by @christian-byrne View on GitHub
area:nodes
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

## Summary

The `node -e` entry in `.claude/settings.json` is over-escaped and will produce JavaScript syntax errors when executed by Claude.

After JSON decoding, the string contains literal `\(` backslash-escaped parentheses and doubled single quotes like `''fast-check''`, making it invalid JavaScript. Node.js will reject this when the command is run.

## File

`.claude/settings.json`

## Proposed Fix

```diff
- "Bash(node -e \"const fc = require\\(''fast-check''\\); console.log\\(Object.keys\\(fc\\).filter\\(k => k.includes\\(''string''\\)\\).join\\('', ''\\)\\)\")"
+ "Bash(node -e \"const fc = require('fast-check'); console.log(Object.keys(fc).filter((k) => k.includes('string')).join(', '))\")"
```

## References

- Flagged in: https://github.com/Comfy-Org/ComfyUI_frontend/pull/9744#discussion_r2924517949
- PR where noted as pre-existing: https://github.com/Comfy-Org/ComfyUI_frontend/pull/9744
- Requested by: @christian-byrne

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-9801-fix-correct-over-escaped-node-e-payload-in-claude-settings-json-3216d73d36508138836efba6e26e409c) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.