Skip to content

Commit

Permalink
fix(cli): ts install
Browse files Browse the repository at this point in the history
  • Loading branch information
Krakazybik committed Feb 23, 2022
1 parent d493212 commit 0e116de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/cli/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const cli = meow(null, {});
const userDeps = getUserDeps(cli);
const isTS = isTypeScriptProject(userDeps);

function bootstrap({ withTs = true, force = false }) {
function bootstrap({ withTs = false, force = false }) {
log.info("@feature-sliced/eslint-config/cli");

const userPkgManager = getPkgManger();
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async function ui(install, typescript) {

const answers = await prompts(usedQuestions);
if (answers.install) {
install({ withTs: answers.typescript || typescript });
install({ withTs: answers.typescript });
}
}

Expand Down

0 comments on commit 0e116de

Please sign in to comment.