Skip to content

Commit c2852fd

Browse files
authored
fix: provide args to deno.cache on cache-on-save (#924)
1 parent fc58328 commit c2852fd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

client/src/extension.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,11 @@ function handleTextDocumentSave(doc: vscode.TextDocument) {
215215
return;
216216
}
217217

218-
vscode.commands.executeCommand("deno.cache");
218+
vscode.commands.executeCommand(
219+
"deno.cache",
220+
[doc.uri.toString()],
221+
doc.uri.toString(),
222+
);
219223
}
220224
}
221225

0 commit comments

Comments
 (0)