File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 44
55script_path = Path (__file__ )
66# Add the shared modules to the path so we can import them.
7- sys .path .append (script_path .parent .parent / 'shared' )
7+ sys .path .append (str ( script_path .parent .parent / 'shared' ) )
88from codeql import CodeQL
99
1010
Original file line number Diff line number Diff line change 11from contextlib import redirect_stdout
22from pathlib import Path
3- from codeql import CodeQLError , CodeQLValidationSummary
3+ from codeqlvalidation import CodeQLValidationSummary
44from error import failure
55import re
6+ import sys
7+
8+ script_path = Path (__file__ )
9+ # Add the shared modules to the path so we can import them.
10+ sys .path .append (str (script_path .parent .parent / 'shared' ))
11+ from codeql import CodeQLError
12+
613
714if __name__ == '__main__' :
815 failure ("Error: this Python module does not support standalone execution!" )
Original file line number Diff line number Diff line change 11from contextlib import redirect_stdout
22from pathlib import Path
3- from codeql import CodeQLError , CodeQLValidationSummary
3+ from codeqlvalidation import CodeQLValidationSummary
44from error import failure
5+ import sys
56
7+ script_path = Path (__file__ )
8+ # Add the shared modules to the path so we can import them.
9+ sys .path .append (str (script_path .parent .parent / 'shared' ))
10+ from codeql import CodeQLError
611
712class DiagnosticsSummary :
813 def __init__ (self , database_path , repo_root ):
You can’t perform that action at this time.
0 commit comments