FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Revert "start-proxy: Skip proxy setup if no credentials are available" by marcogario · Pull Request #2740 · github/codeql-action · GitHub

Revert "start-proxy: Skip proxy setup if no credentials are available" - #2740

Merged
marcogario merged 1 commit into
mainfrom
revert-2724-marcogario/skip_proxy
Jan 29, 2025
Merged

Revert "start-proxy: Skip proxy setup if no credentials are available"#2740
marcogario merged 1 commit into
mainfrom
revert-2724-marcogario/skip_proxy

Conversation

marcogario commented Jan 29, 2025
edited
Loading

Copy link
Copy Markdown
Contributor

Reverts #2724

The logic setting the proxy for maven fails with the empty variables. Though the error is non-fatal, this is not really improving the situation and might actually make it worse.

Copilot AI review requested due to automatic review settings January 29, 2025 08:35
marcogario requested a review from a team as a code owner January 29, 2025 08:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

src/start-proxy-action.ts:102

  • By removing the check for zero credentials, this code proceeds with proxy setup even if the credentials array is empty, which may lead to unexpected behavior or errors. Reintroduce a condition for the empty credentials scenario, or confirm that subsequent logic gracefully handles it.
logger.info(

Tip: If you use Visual Studio Code, you can request a review from Copilot before you push from the "Source Control" tab. Learn more

marcogario marked this pull request as draft January 29, 2025 08:36
marcogario marked this pull request as ready for review January 29, 2025 08:41
marcogario enabled auto-merge January 29, 2025 09:01
marcogario merged commit 14b9c0e into main Jan 29, 2025
marcogario deleted the revert-2724-marcogario/skip_proxy branch January 29, 2025 10:03
github-actions Bot mentioned this pull request Jan 29, 2025
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL