Remove unnecessary ctx.file APIs - plugins can use node:fs directly

This commit is contained in:
Gregory Schier committed 2025-12-28 14:06:35 -08:00
1 parent 218fdf3715
commit 6d5ba685f1
4 files changed
+7 -76

No files matched your search

@@ -68,10 +68,6 @@ export interface Context {
templates: {
render<T extends JsonValue>(args: TemplateRenderRequest & { data: T }): Promise<T>;
};
file: {
writeText(filePath: string, content: string): Promise<void>;
readText(filePath: string): Promise<string>;
};
plugin: {
reload(): void;
};