Skip to content

Commit 3eee6a6

Browse files
Merge pull request #281 from gjsjohnmurray/fix-279
fix #279 Ctrl+F7 (Import and Compile Current File) was broken
2 parents 908c93c + 12894ca commit 3eee6a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/compile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ export async function importAndCompile(askFlags = false, document?: vscode.TextD
223223
}
224224

225225
// Do nothing if it is a local file and objectscript.conn.active is false
226-
if (document.uri.scheme === "file" && !config("conn").active) {
226+
if (file.uri.scheme === "file" && !config("conn").active) {
227227
return;
228228
}
229229

0 commit comments

Comments
 (0)