We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2c1c4f commit ea3ae39Copy full SHA for ea3ae39
1 file changed
synthtool/gcp/common.py
@@ -94,7 +94,7 @@ def node_library(self, **kwargs) -> Path:
94
kwargs["publish_token"] = node.get_publish_token(kwargs["metadata"]["name"])
95
96
# generate root-level `src/index.ts` to export multiple versions and its default clients
97
- if kwargs["versions"] and kwargs["default_version"]:
+ if "versions" in kwargs and "default_version" in kwargs:
98
node.generate_index_ts(
99
versions=kwargs["versions"], default_version=kwargs["default_version"]
100
)
0 commit comments