mirror of
https://github.com/bndr/pipreqs.git
synced 2025-06-06 03:25:21 +00:00
Raise SystemExit if platform is win32 and using --examine-all opt
This commit is contained in:
parent
6dd50f3c56
commit
70bea223c5
@ -351,6 +351,9 @@ def init(args):
|
||||
extra_ignore_dirs = extra_ignore_dirs.split(',')
|
||||
|
||||
if args.get("--examine-all"):
|
||||
if sys.platform == "win32":
|
||||
raise SystemExit("This option is only available on *nix platforms!")
|
||||
|
||||
examine_all = True
|
||||
else:
|
||||
examine_all = False
|
||||
|
Loading…
x
Reference in New Issue
Block a user