diff --git a/src/utils/codeCommand.ts b/src/utils/codeCommand.ts index 550e9d3..d0562b8 100644 --- a/src/utils/codeCommand.ts +++ b/src/utils/codeCommand.ts @@ -27,7 +27,7 @@ export async function executeCodeCommand(args: string[] = []) { padding: 0, }; } - if (Object.keys(settingsFlag).length > 0) { + if (Object.keys(settingsFlag).length > 0 && process.platform !== 'win32') { args.push(`--settings=${JSON.stringify(settingsFlag)}`); }