Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalgn committed Sep 3, 2021
1 parent 66eec2e commit e88d173
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/git.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ const { tmpdir } = require("../lib/common");

async function init(dir) {
await fse.mkdirs(dir);
await git.git(dir, "init", "-b", "main");
await git.git(dir, "init");
await git.git(dir, "checkout", "-b", "main");
}

async function commit(dir, message = "C%d", count = 1) {
Expand Down

0 comments on commit e88d173

Please sign in to comment.