Skip to content

Commit

Permalink
Fix crypto after 1.20 node environment (vscode 1.90.0)
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime Dufour <[email protected]>
  • Loading branch information
outscale-mdr committed Jun 11, 2024
1 parent 52917b6 commit d6b6e97
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"url": "https://github.com/outscale-dev/vscode-osc-viewer/issues"
},
"engines": {
"vscode": "^1.73.0"
"vscode": "^1.89.1"
},
"categories": [
"Other"
Expand Down
1 change: 0 additions & 1 deletion src/cloud/cloud.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { ResponseError } from "outscale-api";
import { OutputChannel } from "../logs/output_channel";

global.Headers = fetch.Headers;
global.crypto = require('crypto');

function getVersion(): string {
const extensionContext = vscode.extensions.getExtension('outscale.osc-viewer');
Expand Down

0 comments on commit d6b6e97

Please sign in to comment.