Merge branch 'master' into worktree/fix-session-header-preset-order

This commit is contained in:
Yichen Jiang
2026-08-10 20:21:52 +08:00
committed by GitHub
43 changed files with 1032 additions and 131 deletions

View File

@@ -105,6 +105,8 @@ async function tightenModes(dir: string): Promise<void> {
if (entry.isDirectory()) {
await tightenModes(target)
} else {
/* v8 ignore next -- Windows mode bits cannot represent POSIX owner-execute state;
* the Windows native gate preserves the DACL while the POSIX suite covers this branch. */
await chmod(target, ((await stat(target)).mode & 0o100) === 0 ? 0o600 : 0o700)
}
}