~bmp/hayom

5c59bcb4c3f69aab08d57d2f88fd5b8e5c0db160 — Benjamin Pollack 5 months ago a6e5769
change temp file to *.hayom
1 files changed, 1 insertions(+), 1 deletions(-)

M cli.ts
M cli.ts => cli.ts +1 -1
@@ 49,7 49,7 @@ function readEntries(entries: Entry[], opts: flags.Args) {
}

async function edit(body: string, editor: string[]) {
  const temp = Deno.makeTempFileSync({ suffix: ".jrnl" });
  const temp = Deno.makeTempFileSync({ suffix: ".hayom" });
  try {
    Deno.writeTextFileSync(temp, body);
    const proc = Deno.run({ cmd: [...editor, temp] });