Skip to content
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

fix: use correct variable name for boolean flag #3671 #3672

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/ConnectorPackageValidator.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ try {
}
}

if ($pluginEnabled) {
if ($isPluginEnabled) {
# aiplugin operation
$pluginNodeName = "aicopilot_aiplugin"
# Use XPath to find the node
Expand Down Expand Up @@ -482,7 +482,7 @@ try {
Write-Host "Validate the flow solution has both 'Connector' and 'Workflows' components. If not so, please recreate the solution and export again."
$resultOfValidation = $false
}
elseif ($pluginEnabled -and (-not $isPluginSolutionPresent)) {
elseif ($isPluginEnabled -and (-not $isPluginSolutionPresent)) {
Write-Host "Plugin solution in '$originalParentFolderPath' is invalid. Plugin solution should contain 'Connector', 'aiplugins' and 'aipluginoperations' folders."
Write-Host "Validate the plugin solution has 'Connector', 'aiplugins' and 'aipluginoperations' components. If not so, please recreate the solution and export again."
$resultOfValidation = $false
Expand Down