Skip to content

Commit 2815675

Browse files
committed
feat(cli): stop suggesting --vscode-settings
1 parent e9f145a commit 2815675

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

packages/cli/index.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -335,13 +335,6 @@ class Project {
335335
: darkGray(`Processed ${processed} files.`)
336336
);
337337

338-
if (process.argv.includes('--fix') && !formattingSettings) {
339-
const vscodeSettings = ts.findConfigFile(process.cwd(), ts.sys.fileExists, '.vscode/settings.json');
340-
if (vscodeSettings) {
341-
clack.log.message(darkGray(`Found available editor settings, you can use `) + cyan(`--vscode-settings ${path.relative(process.cwd(), vscodeSettings)}`) + darkGray(` to enable code format.`));
342-
}
343-
}
344-
345338
const projectsFlag = process.argv.find(arg => arg.endsWith('-projects'));
346339
if (projectsFlag) {
347340
clack.log.warn(

0 commit comments

Comments
 (0)