Skip to content

Conversation

@DanielRuthardt
Copy link

πŸ“‘ What

Fix quoting issue found thanks to testing.

❓ Why

⚑ How to Review

βœ… Testing

  • I have tested my work
  • I need you to test it too

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR attempts to fix a quoting issue in the file::copy_owners shell function by refactoring how the chown command is built and executed. The previous implementation used optional parameter expansion with ${options:-}, while the new approach builds a command string.

Key changes:

  • Replaces optional parameter expansion with command string concatenation
  • Builds the sudo chown command dynamically with optional -R flag

πŸ’‘ Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@DanielRuthardt DanielRuthardt merged commit d1ab877 into main Nov 14, 2025
2 checks passed
@DanielRuthardt DanielRuthardt deleted the fix/quoting-issue branch November 14, 2025 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants