Skip to content

Commit 8f48ce5

Browse files
committed
changes to import_all
1 parent d3006bf commit 8f48ce5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

eng/tools/azure-sdk-tools/azpysdk/import_all.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,11 @@ def run(self, args: argparse.Namespace) -> int:
7777
commands = [executable, "-c", import_script_all]
7878

7979
outcomes.append(check_call(commands, cwd=staging_directory))
80-
logger.info("Verified module dependency, no issues found")
80+
81+
if outcomes[-1] == 0:
82+
logger.info("Verified module dependency, no issues found")
83+
else:
84+
logger.error(f"Dependency issue found when invoking \"{import_script_all}\" against package {parsed.name}")
8185
else:
8286
logger.info("Package {} is excluded from dependency check".format(parsed.name))
8387

0 commit comments

Comments
 (0)