diff --git a/src/commands/commitCommands.ts b/src/commands/commitCommands.ts index a5a802a..e7aeba2 100644 --- a/src/commands/commitCommands.ts +++ b/src/commands/commitCommands.ts @@ -222,7 +222,7 @@ function findCodePath(): string { if (isDarwin) { codePath = execPath.split(/(?<=\.app)/)[0] + '/Contents/Resources/app/bin/' + codePath; } else { - codePath = path.join(path.dirname(execPath), 'bin', codePath); + codePath = path.join(path.dirname(execPath), 'bin', (isRemote ? 'remote-cli' : ''), codePath); } if (!fs.existsSync(codePath)) {