feat(configs): add assert for SQUISH_DIR env var

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-11-30 13:51:36 +01:00
parent 128ae59d72
commit 1d1a0b7d44
1 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,9 @@ TEST_FILES: SystemPath = ROOT / 'ext' / 'test_files'
TEST_USER_DATA: SystemPath = ROOT / 'ext' / 'user_data'
# Driver Directories
SQUISH_DIR = SystemPath(os.getenv('SQUISH_DIR'))
SQUISH_DIR_RAW = os.getenv('SQUISH_DIR')
assert SQUISH_DIR_RAW is not None
SQUISH_DIR = SystemPath(SQUISH_DIR_RAW)
# Status Application
STATUS_DATA: SystemPath = RUN / 'status'