Skip to content

Conversation

@thekid
Copy link
Member

@thekid thekid commented Jun 28, 2025

Unchanged behavior with relative paths:

$ xp -w 'use web\Environment; (new Environment(getcwd()))->path($argv[1])' src/main/php/
./src/main/php/

Changed behavior with absolute paths:

# Before
$ xp -w 'use web\Environment; (new Environment(getcwd()))->path($argv[1])' /etc
.//etc

# After
$ xp -w 'use web\Environment; (new Environment(getcwd()))->path($argv[1])' /etc
/etc

See #124 (comment)

@thekid thekid merged commit 854bf26 into master Jun 28, 2025
14 checks passed
@thekid thekid deleted the feature/absolute-paths branch June 28, 2025 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants