Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v0.2.102 ·

Improved Directory Handling

Entry
JSON All of v0.2.102
EntryKind: in v0.2.102,
ChangesSection of the release

The isDirEmptySync function now includes an existence check before checking if a directory is empty. This prevents errors when working with non-existent directories.

// Old behavior: Would error if directory doesn't exist
function isDirEmptySync(path) {
  return fs.isDirEmptySync(path);
}

// New behavior: Returns true for non-existent directories
function isDirEmptySync(path) {
  if (!fs.existsSync(path)) return true;
  return fs.isDirEmptySync(path);
}

See this entry in the whole of v0.2.102 →

Feedback