mirror of
https://github.com/codingo/Interlace.git
synced 2025-12-17 14:54:21 +01:00
Added in exception for empty target
This commit is contained in:
@@ -180,6 +180,9 @@ class InputHelper(object):
|
||||
# difference operation
|
||||
targets -= exclusions
|
||||
|
||||
if len(targets) == 0:
|
||||
raise Exception("No target provided, or empty target list")
|
||||
|
||||
if arguments.command:
|
||||
commands.add(arguments.command.rstrip('\n'))
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user