mirror of
https://github.com/vale981/melpazoid
synced 2025-03-05 17:31:38 -05:00
fix handling of optional LOCAL_REPO env var
This commit is contained in:
parent
32cf18273e
commit
eae45c7928
1 changed files with 2 additions and 0 deletions
|
@ -922,6 +922,8 @@ def _main() -> None:
|
|||
elif 'RECIPE_FILE' in os.environ:
|
||||
with open(os.environ['RECIPE_FILE'], encoding='utf-8') as file:
|
||||
check_melpa_recipe(file.read())
|
||||
elif 'LOCAL_REPO' in os.environ: # and RECIPE/RECIPE_FILE aren't set
|
||||
_fail('Set a recipe with: [--recipe RECIPE]')
|
||||
else:
|
||||
_check_melpa_pr_loop()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue