Skip to content

fix issue with log-file arg #13

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

Merged
merged 2 commits into from
Mar 14, 2025
Merged

fix issue with log-file arg #13

merged 2 commits into from
Mar 14, 2025

Conversation

juruen
Copy link
Collaborator

@juruen juruen commented Mar 14, 2025

Context

Small fix to sure that the --log-file cli argument is honoured.

@Copilot Copilot AI review requested due to automatic review settings March 14, 2025 18:52
Copy link
Contributor

@Copilot 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 fixes the issue with the log-file CLI argument by ensuring that the flag is properly bound to viper.

  • Removes the persistent pre-run binding from the server command.
  • Adds the flag binding in the global initialization of persistent flags, ensuring it applies to all commands.
Files not reviewed (1)
  • go.mod: Language not supported

Tip: Copilot only keeps its highest confidence comments to reduce noise and keep you focused. Learn more

@juruen juruen merged commit 09366fa into main Mar 14, 2025
3 checks passed
manian0430 pushed a commit to ChrisLally/github-mcp-server that referenced this pull request Apr 12, 2025
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