-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
build(checkver): Fix output with '-Version' #3774
Conversation
If I can see correctly, main changes are:
Rest is just messy compare due to nested |
The same logic could be archived without the indentation by adding the check for ChangeTo if (!$ver) {
next "couldn't find new version in $url"
continue
}
if($Version) {
$expected_ver = $ver
$ver = $Version
}
# Skip actual only if versions are same and there is no -f
if (($ver -eq $expected_ver) -and !$ForceUpdate -and $SkipUpdated) { continue }
|
Tested after resolve conflicts (merged current 'develop' branch) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will it be possible to isolate indentation changes in a separate commit (in this PR itself)? Otherwise it's difficult to review.
Separate into two commits, Part I is just indenting, while Part II is fixed code. |
Before
After