style: lint fix

This commit is contained in:
2026-03-23 19:01:26 +05:30
parent d8a2e11d29
commit 0a509d2bc3
+5 -2
View File
@@ -1,11 +1,11 @@
#!/usr/bin/env bun #!/usr/bin/env bun
import chalk from "chalk";
import { Command } from "commander"; import { Command } from "commander";
import pkg from "../package.json"; import pkg from "../package.json";
import { cleanupMultiModel } from "./core/cleanup"; import { cleanupMultiModel } from "./core/cleanup";
import { closeMultiModel } from "./core/close"; import { closeMultiModel } from "./core/close";
import { openMultiModel } from "./core/open"; import { openMultiModel } from "./core/open";
import { getBinaryName, loadSettings, promptUser } from "./core/utils"; import { getBinaryName, loadSettings, promptUser } from "./core/utils";
import chalk from "chalk";
const program = new Command(); const program = new Command();
@@ -46,7 +46,10 @@ program
const answer = await promptUser( const answer = await promptUser(
`Continue with last used models?\n${modelList}\n(Y/n): `, `Continue with last used models?\n${modelList}\n(Y/n): `,
); );
if (answer.toLowerCase() === "y" || answer.toLowerCase() === "yes") { if (
answer.toLowerCase() === "y" ||
answer.toLowerCase() === "yes"
) {
models = settings.lastModels; models = settings.lastModels;
} }
} else { } else {