Skip to content

macos: normalize action working directory paths - #14051

Merged
mitchellh merged 3 commits into
mainfrom
macos-path
Aug 27, 2026
Merged

mitchellh merged 3 commits into
mainfrom
macos-path

Conversation

@mitchellh

Copy link
Copy Markdown
Contributor

Discussion #14048

Directory URLs no longer export a trailing slash through PWD, which keeps zsh's %1~ prompt expansion from resolving to an empty string.

A shared URL helper removes trailing separators while preserving the filesystem root and percent-decoding behavior. Tests cover normal, repeated, encoded, and root paths.

Discussion #14048

Directory URLs no longer export a trailing slash through PWD, which
keeps zsh's %1~ prompt expansion from resolving to an empty string.

A shared URL helper removes trailing separators while preserving the
filesystem root and percent-decoding behavior. Tests cover normal,
repeated, encoded, and root paths.
@mitchellh mitchellh added this to the 1.4.0 milestone Aug 27, 2026
@mitchellh
mitchellh requested a review from a team as a code owner August 27, 2026 21:35
@ghostty-bot ghostty-bot Bot added the os/macos label Aug 27, 2026
Comment thread macos/Sources/Helpers/Extensions/URL+Extension.swift
Comment thread macos/Sources/Helpers/Extensions/URL+Extension.swift Outdated
Comment thread macos/Sources/Helpers/Extensions/URL+Extension.swift
mitchellh and others added 2 commits August 27, 2026 14:57
Co-authored-by: Lukas <134181853+bo2themax@users.noreply.github.com>
Co-authored-by: Lukas <134181853+bo2themax@users.noreply.github.com>
@mitchellh
mitchellh merged commit fac595c into main Aug 27, 2026
204 checks passed
@mitchellh
mitchellh deleted the macos-path branch August 27, 2026 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants