(path: string, content: string, message: string)
| 31 | } |
| 32 | |
| 33 | async function commitFile(path: string, content: string, message: string): Promise<string> { |
| 34 | await memfs.promises.writeFile(`${DIR}/${path}`, content); |
| 35 | await git.add({ fs: memfs, dir: DIR, filepath: path }); |
| 36 | return git.commit({ fs: memfs, dir: DIR, message, author: AUTHOR }); |
| 37 | } |
| 38 | |
| 39 | async function runDiff(opts: { ref?: string } = {}): Promise<string> { |
| 40 | return diffWith({ |
no test coverage detected