Skip to content

Commit

Permalink
Merge pull request #267 from ianic/fix-remote-insiders-path
Browse files Browse the repository at this point in the history
fix vscode-insiders path for the remote environment
  • Loading branch information
kahole committed Dec 4, 2023
2 parents 12e901b + b539931 commit 0d17f57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/commitCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,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)) {
Expand Down

0 comments on commit 0d17f57

Please sign in to comment.