We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 801532b commit 2c64ad4Copy full SHA for 2c64ad4
packages/openapi-ts/src/config/init.ts
@@ -19,7 +19,7 @@ import { getPlugins } from './plugins';
19
* @internal
20
*/
21
export const detectInteractiveSession = (): boolean =>
22
- !!(
+ Boolean(
23
process.stdin.isTTY &&
24
process.stdout.isTTY &&
25
!process.env.CI &&
@@ -78,7 +78,6 @@ export const initConfigs = async (
78
useOptions = true,
79
} = userConfig;
80
81
- // Use environment-aware detection only when user doesn't explicitly set interactive
82
const interactive =
83
userConfig.interactive !== undefined
84
? userConfig.interactive
0 commit comments