Update editor.ts (#1371)

This commit is contained in:
cornmander
2025-06-24 02:41:40 -04:00
committed by GitHub
parent 324715ee8b
commit a2ed4266aa
3 changed files with 3 additions and 3 deletions

View File

@@ -189,6 +189,7 @@ describe('editor utils', () => {
diffCommand.args,
{
stdio: 'inherit',
shell: true,
},
);
expect(mockSpawn.on).toHaveBeenCalledWith(

View File

@@ -145,6 +145,7 @@ export async function openDiff(
return new Promise((resolve, reject) => {
const childProcess = spawn(diffCommand.command, diffCommand.args, {
stdio: 'inherit',
shell: true,
});
childProcess.on('close', (code) => {