deno.land / x / at_test@v8.1.0 / src / externalInterface / git.ts
12345678910import { join } from "https://deno.land/std@0.157.0/path/mod.ts";
const commitEditMsgPath = join(".git", "COMMIT_EDITMSG");type SetCommitMessage = (p: { message: string }) => Promise<void>;/** * Set a Message for `./.git/COMMIT_EDITMSG`. */export const setCommitMessage: SetCommitMessage = (p) => Deno.writeTextFile(commitEditMsgPath, p.message).catch(console.error);
Version Info