fix(core): Anchor config.toml path to manual slop root
This fixes an issue where config.toml was erroneously saved to the current working directory (e.g. project dir) rather than the global manual slop directory.
This commit is contained in:
@@ -13,7 +13,9 @@ def test_default_paths():
|
||||
assert paths.get_conductor_dir() == Path("conductor")
|
||||
assert paths.get_logs_dir() == Path("logs/sessions")
|
||||
assert paths.get_scripts_dir() == Path("scripts/generated")
|
||||
assert paths.get_config_path() == Path("config.toml")
|
||||
# config path should now be an absolute path relative to src/paths.py
|
||||
root_dir = Path(paths.__file__).resolve().parent.parent
|
||||
assert paths.get_config_path() == root_dir / "config.toml"
|
||||
assert paths.get_tracks_dir() == Path("conductor/tracks")
|
||||
assert paths.get_archive_dir() == Path("conductor/archive")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user