Skip to content

Commit 4a8e4e7

Browse files
author
--global
committed
now that were not setting the git config options globally we have to init FIRST, duh duh duh
1 parent 1a5c9f9 commit 4a8e4e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/mocks/directory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function mockIsolatedDirectory({git}: {git: boolean}) {
1313
process.chdir(dir);
1414
if (git) {
1515
await promisify(exec)(
16-
'git config user.email "[email protected]" && git config user.name "Observable User" && git config init.defaultBranch main && git init'
16+
'git init && git config user.email "[email protected]" && git config user.name "Observable User" && git config init.defaultBranch main'
1717
);
1818
}
1919
});

0 commit comments

Comments
 (0)