We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e511cc7 commit bb9c311Copy full SHA for bb9c311
test/mocks/directory.ts
@@ -12,8 +12,10 @@ export function mockIsolatedDirectory({ git }: { git: boolean; }) {
12
dir = await mkdtemp(join(tmpdir(), "framework-test-"));
13
process.chdir(dir);
14
if (git) {
15
- const {stdout, stderr} = (await promisify(exec)("git init"));
16
- console.log({stdout, stderr});
+ const a = (await promisify(exec)("git config --global init.defaultBranch main"))
+ console.log(a.stdout, a.stderr);
17
+ const b = (await promisify(exec)("git init"));
18
+ console.log(b.stdout, b.stderr);
19
};
20
});
21
0 commit comments