Skip to content

Commit

Permalink
Fixed Windows composer Paths
Browse files Browse the repository at this point in the history
  • Loading branch information
ObliviousHarmony committed May 23, 2023
1 parent a0c0121 commit 11e0d99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/env/lib/init-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ RUN rm /tmp/composer-setup.php`;
// Make sure to do this as the user and ensure the binaries are available in the $PATH.
dockerFileContent += `
USER $HOST_UID:$HOST_GID
ENV PATH="\${PATH}:/home/$HOST_USERNAME/.composer/vendor/bin"
ENV PATH="\${PATH}:~/.composer/vendor/bin"
RUN composer global require --dev yoast/phpunit-polyfills:"^1.0"
USER root`;

Expand Down

0 comments on commit 11e0d99

Please sign in to comment.