From 2860a2bb1a1f227c26b02f1325454ab79d6f6451 Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Tue, 20 May 2025 22:00:00 -0400 Subject: sync --- js/src/util/log.ts | 1 + js/src/util/scrap.ts | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 js/src/util/scrap.ts (limited to 'js/src/util') diff --git a/js/src/util/log.ts b/js/src/util/log.ts index c43514ef6..d05f42dc2 100644 --- a/js/src/util/log.ts +++ b/js/src/util/log.ts @@ -12,6 +12,7 @@ export namespace Log { }; export function file(directory: string) { + return; const out = Bun.file( path.join(AppPath.data(directory), "opencode.out.log"), ).writer(); diff --git a/js/src/util/scrap.ts b/js/src/util/scrap.ts new file mode 100644 index 000000000..16005acdc --- /dev/null +++ b/js/src/util/scrap.ts @@ -0,0 +1,5 @@ +export const foo: string = "42"; + +export function dummyFunction(): void { + console.log("This is a dummy function"); +} -- cgit v1.2.3