diff --git a/dvc/command/run.py b/dvc/command/run.py index 2bb7246fd..f8d7f47e8 100644 --- a/dvc/command/run.py +++ b/dvc/command/run.py @@ -25,9 +25,9 @@ class CmdRun(CmdBase): return args_file if args_outs: - result = CmdRun._stage_file_basename(args_outs) + result = CmdRun._stage_file_basename(args_outs[0]) elif args_outs_no_cache: - result = CmdRun._stage_file_basename(args_outs_no_cache) + result = CmdRun._stage_file_basename(args_outs_no_cache[0]) else: result = Stage.STAGE_FILE