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 '--require'
|
||||||
yield target
|
yield target
|
||||||
|
|
||||||
if args.metadata_path:
|
if isinstance(args, TestConfig):
|
||||||
yield '--metadata'
|
if args.metadata_path:
|
||||||
yield args.metadata_path
|
yield '--metadata'
|
||||||
|
yield args.metadata_path
|
||||||
|
|
Loading…
Add table
Reference in a new issue