From 0d146e0ce2e65a50e5378fdb085dfaf3627e77e3 Mon Sep 17 00:00:00 2001 From: dylan <> Date: Tue, 26 Mar 2024 20:33:34 -0700 Subject: [PATCH] remove the ls --- src/server/api/release.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/api/release.ts b/src/server/api/release.ts index f341c10..48229cb 100644 --- a/src/server/api/release.ts +++ b/src/server/api/release.ts @@ -56,8 +56,8 @@ const handler = async ({payload}: FirRouteInput) => { console.log("pico exists: ", fs.existsSync(picoBinPath)); console.log("manifest exists: ", fs.existsSync(path.join(repoPath, "picobook.json"))); console.log("main exists: ", fs.existsSync(path.join(repoPath, manifest.main))); - const {stdout} = await execa("ls", ["-la", picoDirPath], {shell: true}); - console.log(stdout); + // const {stdout} = await execa("ls", ["-la", picoDirPath], {shell: true}); + // console.log(stdout); await execa("pico8", [path.join(repoPath, manifest.main), "-export", path.join(repoPath, "result.js")]); // await execa(picoBinPath, [path.join(repoPath, manifest.main), "-export", path.join(repoPath, "result.png")]); const js = await fs.promises.readFile(path.join(repoPath, "result.js"), "utf8");