Follow Discord
Sweep 24 Nov 2026 · 22:58Z Build v2.1.332 549 read Stable v2.1.325 Latest v2.1.331 Next v2.1.332 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.332 ·

Scripts no longer create a folder literally named ~ by mistake

Scripts that pass ~ in a path without spelling it out get a warning, and writes to a path where ~ was not expanded are refused

You'll notice Bug Fixes
JSON All of v2.1.332
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ScriptsArea: what it touches
Bug FixesKind: in v2.1.332,
Bug FixesSection of the release
What

Claude Code can write and run small scripts that call its tools. In a file path, ~ is shorthand for your home folder. Claude Code now checks how scripts use it:

  • A script that passes ~ without typing it directly into the script gets the warning "~ was read as a folder in the working directory."
  • A write to a path that still contains an unexpanded ~, or that starts with spaces, is refused with "Nothing was written: ~ isn't expanded in this path."

To point at the home folder, the script should start the path with text typed into the script itself, such as '~/'.

Why

Without this check, a script could create a folder actually named ~ inside your project folder and write files there, rather than writing into your home folder as intended.

See this entry in the whole of v2.1.332 →

Feedback