@hey-api/openapi-ts 0.84.3 → 0.85.0

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
@@ -36,7 +36,7 @@ const params = program
36
36
  .option('-s, --silent', 'Set log level to silent')
37
37
  .option(
38
38
  '--no-log-file',
39
- 'Disable writing a log file. Works like --silent but without supressing console output',
39
+ 'Disable writing a log file. Works like --silent but without suppressing console output',
40
40
  )
41
41
  .option(
42
42
  '-w, --watch [value]',
@@ -93,14 +93,6 @@ async function start() {
93
93
  'useOptions',
94
94
  ]);
95
95
 
96
- const isInteractive =
97
- process.stdin.isTTY &&
98
- process.stdout.isTTY &&
99
- !process.env.CI &&
100
- !process.env.NO_INTERACTIVE &&
101
- !process.env.NO_INTERACTION;
102
- userConfig.interactive = isInteractive;
103
-
104
96
  if (params.plugins === true) {
105
97
  userConfig.plugins = [];
106
98
  } else if (params.plugins) {
@@ -127,6 +119,7 @@ async function start() {
127
119
  }
128
120
 
129
121
  userConfig.logs.file = userConfig.logFile;
122
+ delete userConfig.logFile;
130
123
 
131
124
  if (typeof params.watch === 'string') {
132
125
  userConfig.watch = Number.parseInt(params.watch, 10);