Skip to content

Commit

Permalink
Update node version to 16
Browse files Browse the repository at this point in the history
  • Loading branch information
lovestaco committed Aug 20, 2023
1 parent 7d4cddc commit 2a6c7c7
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 1,429 deletions.
72 changes: 36 additions & 36 deletions 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 @@ -94,7 +94,7 @@
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.0",
"@types/node": "14.x",
"@types/node": "16.x",
"@types/vscode": "^1.65.0",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
Expand Down
2 changes: 1 addition & 1 deletion src/executeCurrentFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ class ExecuteCurrentFile {
}

execFile() {
getL2VersionAndUpdatePrompt(MIN_VERSION_TO_CHECK);
let terminal = getShowLama2Term(this.LAMA2_TERM_NAME);
let { cmd, rflag, rfile } = this.getLama2Command();
this.outPath = rfile;
Expand All @@ -249,7 +250,6 @@ class ExecuteCurrentFile {
}

export function execCurL2File(context: vscode.ExtensionContext) {
getL2VersionAndUpdatePrompt(MIN_VERSION_TO_CHECK);
let executeCurrentFile = new ExecuteCurrentFile(context);
return vscode.commands.registerCommand("lama2.ExecuteCurrentFile", () =>
executeCurrentFile.execFile()
Expand Down
Loading

0 comments on commit 2a6c7c7

Please sign in to comment.