Coverage for src/prisma/binaries/constants.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2024-08-27 18:25 +0000

1from . import platform 

2 

3 

4__all__ = ('PRISMA_CLI_NAME',) 

5 

6 

7# local file path for the prisma CLI 

8if platform.name() == 'windows': 

9 PRISMA_CLI_NAME = f'prisma-cli-{platform.name()}.exe' 

10else: 

11 PRISMA_CLI_NAME = f'prisma-cli-{platform.name()}' # pyright: ignore[reportConstantRedefinition]