mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
pipeline show command: ignore stage if command is not defined
This commit is contained in:
@@ -29,6 +29,8 @@ class CmdPipelineShow(CmdBase):
|
|||||||
|
|
||||||
for n in nodes:
|
for n in nodes:
|
||||||
if commands:
|
if commands:
|
||||||
|
if stages[n].cmd is None:
|
||||||
|
continue
|
||||||
logger.info(stages[n].cmd)
|
logger.info(stages[n].cmd)
|
||||||
elif outs:
|
elif outs:
|
||||||
for out in stages[n].outs:
|
for out in stages[n].outs:
|
||||||
|
|||||||
Reference in New Issue
Block a user