Skip to content

Don't ary.inspect in the lint assertions (backport)#1765

Merged
ioquatix merged 3 commits intorack:2-2-stablefrom
ziggythehamster:fix-lint-performance-issue-2-2
Oct 9, 2021
Merged

Don't ary.inspect in the lint assertions (backport)#1765
ioquatix merged 3 commits intorack:2-2-stablefrom
ziggythehamster:fix-lint-performance-issue-2-2

Conversation

@ziggythehamster
Copy link
Contributor

This is a backport to 2.2 of #1626 (fixing #1625)

@ioquatix ioquatix requested a review from jeremyevans July 19, 2021 21:03
Copy link
Contributor

@jeremyevans jeremyevans left a comment

Choose a reason for hiding this comment

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

In terms of code, this is fine. However, it changes both files to be executable (100644 → 100755), which is definitely wrong.

Just to set expectations, I don't think we're planning on releasing 2.2.4 unless there is a security issue. However, I see no problem backporting this so that if we do release 2.2.4, it is included.

@ziggythehamster
Copy link
Contributor Author

Thanks for pointing that out - I was on a Windows machine at the time and forgot to set core.fileMode false :).

The modes are now what they were originally.

@ioquatix ioquatix merged commit 547e809 into rack:2-2-stable Oct 9, 2021
@ziggythehamster
Copy link
Contributor Author

In case someone is curious, this made it to Rack 2.2.5 and newer (but the history doesn't seem to reflect that and I didn't add it to the changelog)

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