From 20f7701c9472cacd9b41ddfe282d4313c464ed70 Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Tue, 28 Sep 2021 17:51:13 -0400 Subject: [PATCH] [eng] have verify autorest warn instead of raise (#20913) --- eng/pipelines/templates/steps/verify-autorest.yml | 1 + scripts/devops_tasks/verify_autorest.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/pipelines/templates/steps/verify-autorest.yml b/eng/pipelines/templates/steps/verify-autorest.yml index 0d6b19f2bf4a..ab52c69b6235 100644 --- a/eng/pipelines/templates/steps/verify-autorest.yml +++ b/eng/pipelines/templates/steps/verify-autorest.yml @@ -34,6 +34,7 @@ steps: - task: PythonScript@0 displayName: 'Verify autorest' + continueOnError: true inputs: scriptPath: 'scripts/devops_tasks/verify_autorest.py' arguments: >- diff --git a/scripts/devops_tasks/verify_autorest.py b/scripts/devops_tasks/verify_autorest.py index 561ae2d8b18e..90f683f0e89c 100644 --- a/scripts/devops_tasks/verify_autorest.py +++ b/scripts/devops_tasks/verify_autorest.py @@ -8,7 +8,6 @@ import argparse import os import logging -import sys from common_tasks import run_check_call