Skip to content

Commit

Permalink
Patched wrong returned status when still building passes
Browse files Browse the repository at this point in the history
  • Loading branch information
Fulgurance committed Dec 8, 2024
1 parent 818c96c commit 8a6e22f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ISM/CommandLine.cr
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,6 @@ module ISM
exitProgram
end

#Pass a list as argument to get if it is rebuild due of a co dependency
def getSoftwareStatus(software : ISM::SoftwareInformation) : Symbol
installedSoftware = loadInstalledSoftware(software.port,software.name,software.version)

Expand All @@ -608,7 +607,7 @@ module ISM
end

#Option updates case
if software.version == installedSoftware.version && software.options != installedSoftware.options && installedSoftware.isValid
if software.version == installedSoftware.version && software.options != installedSoftware.options && installedSoftware.isValid && !software.passEnabled && !installedSoftware.passEnabled
return :optionUpdate
end

Expand Down

0 comments on commit 8a6e22f

Please sign in to comment.