@hey-api/openapi-ts 0.64.9 → 0.64.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/index.cjs CHANGED
@@ -117,6 +117,10 @@ async function start() {
117
117
  userConfig.watch = Number.parseInt(params.watch, 10);
118
118
  }
119
119
 
120
+ if (!Object.keys(userConfig.logs).length) {
121
+ delete userConfig.logs;
122
+ }
123
+
120
124
  const context = await createClient(userConfig);
121
125
  if (!context[0] || !context[0].config.watch) {
122
126
  process.exit(0);