mirror of
https://github.com/github/codeql.git
synced 2026-03-05 07:06:47 +01:00
Java: Adjust scripts for new location.
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
#!/usr/bin/python3
|
||||
|
||||
import sys
|
||||
import os.path
|
||||
import subprocess
|
||||
|
||||
# Add Model as Data script directory to sys.path.
|
||||
gitroot = subprocess.check_output(["git", "rev-parse", "--show-toplevel"]).decode("utf-8").strip()
|
||||
madpath = os.path.join(gitroot, "misc/scripts/models-as-data/")
|
||||
sys.path.append(madpath)
|
||||
|
||||
import generate_flow_model as model
|
||||
|
||||
language = "java"
|
||||
|
||||
Reference in New Issue
Block a user