Skip to content

Commit 12894ca

Browse files
committed
fix #279 Ctrl+F7 (Import and Compile Current File) was broken
1 parent 69c2cc3 commit 12894ca

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
@@ -204,7 +204,7 @@ export async function importAndCompile(askFLags = false, document?: vscode.TextD
204204
}
205205

206206
// Do nothing if it is a local file and objectscript.conn.active is false
207-
if (document.uri.scheme === "file" && !config("conn").active) {
207+
if (file.uri.scheme === "file" && !config("conn").active) {
208208
return;
209209
}
210210

0 commit comments

Comments
 (0)