Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly set auto-detect as default for platform #240

Merged
merged 1 commit into from
Jan 25, 2025

Conversation

fredden
Copy link
Contributor

@fredden fredden commented Jan 25, 2025

This is a follow-up to #238, where I introduced a feature to automatically detect the platform when none was specified. I failed to notice that there was a default value for the variable of "x86_64" set, which effectively made the code added in #238 useless. In this pull request, I'm setting the default value to auto-detect so that we can get the correct platform every time.

@fredden fredden force-pushed the feature/platform-autodetect branch from 1027d8c to 438265b Compare January 25, 2025 16:50
@fredden
Copy link
Contributor Author

fredden commented Jan 25, 2025

@afinetooth as suggested over in PHPCSStandards/PHP_CodeSniffer#791 (comment), I'm happy to adapt this pull request into "remove this parameter" if you would prefer to rely on the auto-detection (ie, uname -m) instead of whatever people might set in their variables.

@afinetooth
Copy link
Member

@fredden I like this approach. Thank you!

@afinetooth afinetooth merged commit 648a8eb into coverallsapp:main Jan 25, 2025
72 checks passed
@fredden fredden deleted the feature/platform-autodetect branch January 25, 2025 16:59
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