We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a90a86b commit 4524563Copy full SHA for 4524563
misc/scripts/library-coverage/generate-timeseries.py
@@ -62,6 +62,7 @@ def get_packages(lang, query):
62
shutil.rmtree(db)
63
64
65
+current_dir = os.getcwd()
66
working_dir = ""
67
if len(sys.argv) > 1:
68
working_dir = sys.argv[1]
@@ -80,6 +81,7 @@ def get_packages(lang, query):
80
81
# only once and not per language
82
output_prefix = "framework-coverage-timeseries-"
83
for lang in settings.languages:
84
+ os.chdir(current_dir)
85
config = [c for c in configs if c.lang == lang][0]
86
with open(output_prefix + config.lang + ".csv", 'w', newline='') as csvfile_total:
87
with open(output_prefix + config.lang + "-packages.csv", 'w', newline='') as csvfile_packages:
0 commit comments