Movatterモバイル変換


[0]ホーム

URL:


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

Extensions build is using warnAsError false #6986

Closed
Labels
bugThis issue describes a behavior which is not expected - a bug.needs-area-label
@ericstj

Description

@ericstj

Description

Both official build and PR validation are setting -warnAsError 0

This allowed warnings to creep in. These are only caught in the source-index leg since it happens to call a different entry point that doesn't apply this setting.

Reproduction Steps

Buildeng/common/build.ps1 -restore -build -binarylog -ci

Expected behavior

build fails

Actual behavior

build succeeds since CI should protect against adding warnings

Regression?

Yes, regressed in5ca1721

Known Workarounds

No response

Configuration

No response

Other information

Bug is here:

[boolean]$warnAsError=$false,# NOTE: inverted the Arcade's default

extensions/eng/build.sh

Lines 131 to 134 ina0e6496

# The Arcade's default is "warnAsError=true", we want the opposite by default.
if [["$hasWarnAsError"==false ]];then
properties="$properties --warnAsError false"
fi

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue describes a behavior which is not expected - a bug.needs-area-label

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp