Skip to content

Do not mutate args in ensure symlink tests#1052

Merged
RyanZim merged 1 commit intomasterfrom
ryan/args-mutation
Aug 1, 2025
Merged

Do not mutate args in ensure symlink tests#1052
RyanZim merged 1 commit intomasterfrom
ryan/args-mutation

Conversation

@RyanZim
Copy link
Copy Markdown
Collaborator

@RyanZim RyanZim commented Aug 1, 2025

Just a bad practice period, and actually results in a callback being passed to the synchronous functions later in the file that reuse the same args array.

Copy link
Copy Markdown
Collaborator

@manidlou manidlou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you @RyanZim

@RyanZim RyanZim merged commit 83ff8ca into master Aug 1, 2025
12 checks passed
@RyanZim RyanZim deleted the ryan/args-mutation branch August 1, 2025 14:46
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.

3 participants