From 8ce630d670bf289a422a0aa4184604d2967d85e5 Mon Sep 17 00:00:00 2001 From: Paul Hatcherian <1835615+PaulHatch@users.noreply.github.com> Date: Wed, 7 Oct 2020 07:52:11 -0400 Subject: [PATCH] Cleanup using os temp path --- index.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.test.js b/index.test.js index 29fefbd..d2e7ad8 100644 --- a/index.test.js +++ b/index.test.js @@ -34,7 +34,7 @@ const createTestRepo = (inputs) => { let i = 1; return { - clean: () => execute('/tmp', `rm -rf ${repoDirectory}`), + clean: () => execute(os.tmpdir(), `rm -rf ${repoDirectory}`), makeCommit: (msg, path) => { run(`touch ${path !== undefined ? path.trim('/') + '/' : ''}test${i++}`); run(`git add --all`);