Skip to content

Commit ac4c739

Browse files
committed
bug fix in update_issue
1 parent c57575f commit ac4c739

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

eng/tools/azure-sdk-tools/gh_tools/update_issue.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from ci_tools.functions import discover_targeted_packages
1313

1414
logging.getLogger().setLevel(logging.INFO)
15-
root_dir = os.path.abspath(os.path.join(os.path.abspath(__file__), "..", "..", "..", ".."))
15+
root_dir = os.path.abspath(os.path.join(os.path.abspath(__file__), "..", "..", "..", "..", ".."))
1616

1717

1818
def get_build_info(service_directory: str, package_name: str) -> str:
@@ -83,15 +83,13 @@ def main(targeted_packages):
8383

8484

8585
if __name__ == "__main__":
86-
parser = argparse.ArgumentParser(
87-
description="""
86+
parser = argparse.ArgumentParser(description="""
8887
This script is the single point for all checks invoked by CI within this repo. It works in two phases.
8988
1. Identify which packages in the repo are in scope for this script invocation, based on a glob string and a service directory.
9089
2. Invoke one or multiple checks for each package identified as in scope.
9190
9291
In the case of an environment invoking `pytest`, results can be collected in a junit xml file, and test markers can be selected via --mark_arg.
93-
"""
94-
)
92+
""")
9593

9694
parser.add_argument(
9795
"glob_string",

0 commit comments

Comments
 (0)