From deb66b97f14902cbda7f4f111286e55b08f947cd Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Thu, 18 Jan 2024 20:26:20 +0100 Subject: [PATCH] fix(git tests): Fix Git#clearServer Signed-off-by: Marcel Klehr --- src/lib/adapters/Git.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/adapters/Git.ts b/src/lib/adapters/Git.ts index 8890806154..971fed6d2d 100644 --- a/src/lib/adapters/Git.ts +++ b/src/lib/adapters/Git.ts @@ -314,7 +314,7 @@ export default class GitAdapter extends CachingAdapter { this.dir = '/' + hash + '/' Logger.log('(git) init') - await git.init({ fs, dir: this.dir }) + await git.init({ fs, dir: this.dir, defaultBranch: this.server.branch }) await git.addRemote({ fs, dir: this.dir,