Merge pull request from AllSpiceIO/su/variant-arg

Ignore blank string args for variant and ref
This commit is contained in:
Shrikanth Upadhayaya 2024-05-22 12:25:39 -07:00 committed by GitHub
commit 979bc74280
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -96,8 +96,8 @@ if __name__ == "__main__":
args.source_file,
columns,
group_by=group_by,
ref=args.source_ref,
variant=args.variant,
ref=args.source_ref if args.source_ref else "main",
variant=args.variant if args.variant else None,
)
with ExitStack() as stack: