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 2d72af52e4
commit 0e3cb2dba5
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
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'