Skip to content

Commit 9709e08

Browse files
authored
ci: fix compiling webhost failure in all pipelines (#1477)
* Fix compiling webhost failure in all pipelines * Update setup.py * Update setup.py
1 parent 685fc11 commit 9709e08

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,8 @@ def _compile_webhost(webhost_dir: pathlib.Path):
412412

413413
try:
414414
subprocess.run(
415-
args=["dotnet", "build", "WebJobs.Script.sln", "-o", "bin"],
415+
args=["dotnet", "build", "WebJobs.Script.sln", "-o", "bin",
416+
"/p:TreatWarningsAsErrors=false"],
416417
check=True,
417418
cwd=str(webhost_dir),
418419
stdout=sys.stdout,

0 commit comments

Comments
 (0)