remove mistakenly added files

This commit is contained in:
Jesse Wierzbinski 2023-12-06 12:10:43 -10:00
parent 947c1f4991
commit d47a11cfc2
No known key found for this signature in database
26 changed files with 2 additions and 27 deletions

View file

@ -2,7 +2,7 @@ import { join } from "path";
import { exists, mkdir, writeFile, readFile } from "fs/promises";
export const writeToTempDirectory = async (filename: string, data: string) => {
const tempDir = join(process.cwd(), "temp");
const tempDir = join("/tmp/", "lysand");
if (!(await exists(tempDir))) await mkdir(tempDir);
const tempFile = join(tempDir, filename);
@ -12,7 +12,7 @@ export const writeToTempDirectory = async (filename: string, data: string) => {
};
export const readFromTempDirectory = async (filename: string) => {
const tempDir = join(process.cwd(), "temp");
const tempDir = join("/tmp/", "lysand");
if (!(await exists(tempDir))) await mkdir(tempDir);
const tempFile = join(tempDir, filename);