We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 237ea0d commit 2c7b502Copy full SHA for 2c7b502
editors/code/src/main.ts
@@ -286,7 +286,7 @@ async function patchelf(dest: vscode.Uri): Promise<void> {
286
}
287
`;
288
const origFile = vscode.Uri.file(dest.fsPath + "-orig");
289
- await vscode.workspace.fs.rename(dest, origFile);
+ await vscode.workspace.fs.rename(dest, origFile, { overwrite: true });
290
progress.report({ message: "Patching executable", increment: 20 });
291
await new Promise((resolve, reject) => {
292
const handle = exec(`nix-build -E - --argstr srcStr '${origFile.fsPath}' -o '${dest.fsPath}'`,
0 commit comments