Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 78c8bef

Browse files
committed
Revert "Suppress cleanupcode on linux"
This reverts commit ee77e53.
1 parent ee77e53 commit 78c8bef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Build.ps1‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function RunInspectCode {
3838
function RunCleanupCode {
3939
# When running in cibuild for a pull request, this reformats only the files changed in the PR and fails if the reformat produces changes.
4040

41-
if ($env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT-and$IsWindows) {
41+
if ($env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT) {
4242
# In the past, we used $env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT for the merge commit hash. That is the pinned hash at the time the build is enqueued.
4343
# When a force-push happens after that, while the build hasn't yet started, this hash becomes invalid during the build, resulting in a lookup error.
4444
# To prevent failing the build for unobvious reasons we use HEAD, which is always a detached head (the PR merge result).

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /