Closed IvanZosimov closed 1 year ago
Ivan you rock. Thank you
On Tue, Mar 28, 2023, 5:04 AM Ivan @.***> wrote:
Description: In the scope of this PR, we fix the bug related to the wrong interpretation of the glob patterns. Glob patterns that aren't wrapped by the quotes are opened and transformed into concrete paths by the shell used in the OS (e.g., PowerShell, bash. zsh, and so on). The behavior of this transformation is different for different shells, which can cause different behaviors of the tools. By wrapping glob patterns in double quotes, we prevent shell from opening and transforming them and instruct tool to do it instead.
Related issue: actions/runner-images-internal#4899 https://github.com/actions/runner-images-internal/issues/4899
You can view, comment on, or merge this pull request online at:
https://github.com/actions/setup-dotnet/pull/401 Commit Summary
- 038beb8 https://github.com/actions/setup-dotnet/pull/401/commits/038beb8c55f52f2a3b2a5d9360f9c4596ee2d74d Fix glob bug in package.json scripts section
File Changes
(1 file https://github.com/actions/setup-dotnet/pull/401/files)
- M package.json https://github.com/actions/setup-dotnet/pull/401/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519 (8)
Patch Links:
- https://github.com/actions/setup-dotnet/pull/401.patch
- https://github.com/actions/setup-dotnet/pull/401.diff
— Reply to this email directly, view it on GitHub https://github.com/actions/setup-dotnet/pull/401, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5QXBGII2TLVC5ZQIS7NACTW6LHTLANCNFSM6AAAAAAWKO5SDQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Description: In the scope of this PR, we fix the bug related to the wrong interpretation of the glob patterns. Glob patterns that aren't wrapped by the quotes are opened and transformed into concrete paths by the shell used in the OS (e.g., PowerShell, bash. zsh, and so on). The behavior of this transformation is different for different shells, which can cause different behaviors of the tools. By wrapping glob patterns in double quotes, we prevent shell from opening and transforming them and instruct tool to do it instead.
Related issue: https://github.com/actions/runner-images-internal/issues/4899