diff options
| author | 2024-01-18 14:37:28 +0800 | |
|---|---|---|
| committer | 2024-01-18 14:37:28 +0800 | |
| commit | 63d2d92a0e8e559f25b3cd81542e9317fe72057f (patch) | |
| tree | 0c3a693e82c61e3dacafd62b291c5cc505f789b2 /src | |
| parent | 08c13ddd0bffd2fc08282afccc73980bdbbdab0d (diff) | |
| parent | 55623b0cb2e0cb49f5ff4f456121b07c2376659c (diff) | |
| download | ipm-63d2d92a0e8e559f25b3cd81542e9317fe72057f.tar.gz ipm-63d2d92a0e8e559f25b3cd81542e9317fe72057f.zip | |
:sparkles: feat(ci): use pdm run python instead
Diffstat (limited to 'src')
| -rw-r--r-- | src/ipm/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipm/api.py b/src/ipm/api.py index caeca6d..2cb6eee 100644 --- a/src/ipm/api.py +++ b/src/ipm/api.py @@ -68,7 +68,7 @@ def install(uri: str, index: str = "", echo: bool = False) -> None: info("正在初始化 IPM 环境...", echo) HOME.mkdir(parents=True, exist_ok=True) - index = index if index else INDEX + index = index or INDEX if uri.isalpha(): ... |
