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 2ef3b9f commit 365b262Copy full SHA for 365b262
cacts/cacts.py
@@ -224,9 +224,11 @@ def run_build(self,build):
224
shutil.rmtree(build_dir)
225
build_dir.mkdir()
226
227
- baseline_dir = self._baselines_dir / build.longname
228
- baseline_data_dir = baseline_dir / "data"
+ # If we're generating for the first time in this baseline dir, ensure that the folder exists
229
if self._generate:
+ baseline_dir = self._baselines_dir / build.longname
230
+ baseline_data_dir = baseline_dir / "data"
231
+
232
baseline_dir.mkdir(exist_ok=True)
233
baseline_data_dir.mkdir(exist_ok=True)
234
0 commit comments