Skip to content

Commit

Permalink
fix: make args optional (#521)
Browse files Browse the repository at this point in the history
  • Loading branch information
summer-ji-eng authored May 5, 2020
1 parent a2c1c4f commit ea3ae39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synthtool/gcp/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def node_library(self, **kwargs) -> Path:
kwargs["publish_token"] = node.get_publish_token(kwargs["metadata"]["name"])

# generate root-level `src/index.ts` to export multiple versions and its default clients
if kwargs["versions"] and kwargs["default_version"]:
if "versions" in kwargs and "default_version" in kwargs:
node.generate_index_ts(
versions=kwargs["versions"], default_version=kwargs["default_version"]
)
Expand Down

0 comments on commit ea3ae39

Please sign in to comment.