Fix metadata handling for shell command. (#22801)
(cherry picked from commit 042e387f27
)
This commit is contained in:
parent
3f8e8a3390
commit
0c2c19edb4
1 changed files with 4 additions and 3 deletions
|
@ -451,6 +451,7 @@ def filter_options(args, argv, options, exclude, require):
|
|||
yield '--require'
|
||||
yield target
|
||||
|
||||
if args.metadata_path:
|
||||
yield '--metadata'
|
||||
yield args.metadata_path
|
||||
if isinstance(args, TestConfig):
|
||||
if args.metadata_path:
|
||||
yield '--metadata'
|
||||
yield args.metadata_path
|
||||
|
|
Loading…
Reference in a new issue