Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 28, 2025

Applied Prettier formatting to check_permissions_utils.cjs to comply with project code style standards.

Changes

  • Condensed multi-line .some() call to single line in checkRepositoryPermission()
// Before
const hasPermission = requiredPermissions.some(
  requiredPerm => permission === requiredPerm || (requiredPerm === "maintainer" && permission === "maintain")
);

// After
const hasPermission = requiredPermissions.some(requiredPerm => permission === requiredPerm || (requiredPerm === "maintainer" && permission === "maintain"));

This formatting change maintains identical functionality while aligning with the project's Prettier configuration for code density.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Clean check_permissions_utils.cjs Format check_permissions_utils.cjs per project style Dec 28, 2025
Copilot AI requested a review from pelikhan December 28, 2025 16:10
@pelikhan pelikhan marked this pull request as ready for review December 28, 2025 16:14
@pelikhan pelikhan merged commit 7c16323 into main-9969beee31b5f93f Dec 28, 2025
@pelikhan pelikhan deleted the copilot/sub-pr-7985 branch December 28, 2025 16:14
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