Skip to content

Commit dc6a3d4

Browse files
committed
only use the first two parts of a command to gen base cmd
1 parent 75e5ea5 commit dc6a3d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

artic/minion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ def run(parser, args):
290290

291291
## check for anticipated tool-specific errors
292292
cmd_parts = []
293-
for cmd_part in cmd.split(" "):
293+
for cmd_part in cmd.split(" ")[0:1]:
294294
if "-" not in cmd_part:
295295
cmd_parts.append(cmd_part)
296296
continue

0 commit comments

Comments
 (0)