Skip to content

Commit 6238746

Browse files
committed
Fix global function finding
1 parent 8c0c720 commit 6238746

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "GLua Enhanced (Garry's Mod/Gmod Lua)",
44
"description": "GLua language support for Visual Studio Code",
55
"license": "GNU General Public License v3.0",
6-
"version": "2.3.2",
6+
"version": "2.3.3",
77
"engines": {
88
"vscode": "^0.10.1"
99
},

src/gluaparse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ class GLuaParser {
553553
}
554554

555555
static isTempGitHubDownload(uri) {
556-
if (uri.scheme !== "file") return false;
556+
if (uri.scheme === "file") return false;
557557
let tmpPath = TempFile.getTempPath("Facepunch/garrysmod");
558558
let relPath = path.relative(uri.fsPath, tmpPath);
559559
return relPath != tmpPath;

0 commit comments

Comments
 (0)