Skip to content

Commit

Permalink
lmao last few commits are attributed to my test user bc the exec git …
Browse files Browse the repository at this point in the history
…stuff isnt isolated so running the tests changed my email and name. happy to have you as a collaborator, Observable User. removed --global flag... duh...
  • Loading branch information
--global committed Nov 2, 2024
1 parent 159d708 commit 2fbd17b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/mocks/directory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function mockIsolatedDirectory({git}: {git: boolean}) {
process.chdir(dir);
if (git) {
await promisify(exec)(
'git config --global user.email "observable@example.com" && git config --global user.name "Observable User" && git config --global init.defaultBranch main && git init'
'git config user.email "observable@example.com" && git config user.name "Observable User" && git config init.defaultBranch main && git init'
);
}
});
Expand Down

0 comments on commit 2fbd17b

Please sign in to comment.