We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When removing 1 connection and there are only 2 connections within the configuration file the config file is removed.
The last remaining connections should be re-written to the config file
when the connections count is 2 the file is just removed. if the connections count is > 2 then the removal works as expected
Change the Line 73 in Remove-FreshServiceConnection.ps1
if ($environments.Count -gt 0) {
if (($environment) -or ($environment.count -gt 0)) {
when preforming removal of the sandbox API connection you have to redefine the production connection. More of an Annoyance.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When removing 1 connection and there are only 2 connections within the configuration file the config file is removed.
Expected Behavior
The last remaining connections should be re-written to the config file
Current Behavior
when the connections count is 2 the file is just removed. if the connections count is > 2 then the removal works as expected
Possible Solution
Change the Line 73 in Remove-FreshServiceConnection.ps1
Current
if ($environments.Count -gt 0) {
NEW
if (($environment) -or ($environment.count -gt 0)) {
Steps to Reproduce (for bugs)
Context
when preforming removal of the sandbox API connection you have to redefine the production connection. More of an Annoyance.
Your Environment
Windows 11 23H2
PS Version 5.1.22621.4111
The text was updated successfully, but these errors were encountered: