Skip to content

Commit

Permalink
assume that RUNNER_WORKSPACE is abs
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Jul 29, 2022
1 parent 400b615 commit 0367cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp_linter/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ def run_clang_tidy(
if database:
cmds.append("-p")
if not os.path.isabs(database):
database = os.path.abspath(
database = os.path.normpath(
os.path.join(RUNNER_WORKSPACE, repo_root, database)
)
cmds.append(database)
Expand Down

0 comments on commit 0367cf4

Please sign in to comment.