Skip to content

Commit

Permalink
modify
Browse files Browse the repository at this point in the history
  • Loading branch information
yutongzhang-microsoft committed Nov 15, 2024
1 parent fbc904b commit 2b725a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .azure-pipelines/dependency_check/dependency_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def get_module_path(imported_module, level=0, file_path=""):
# Level 1 means the import is relative to the current package level,
# so the module path shares the same dirname with the file.
# To save time, we don't need to check such import module.
return os.path.dirname(os.path.abspath(file_path))
return None
else:
# For level which is higher than 1,
# the number represents how many levels up in the package hierarchy the import should go.
Expand Down

0 comments on commit 2b725a9

Please sign in to comment.