Skip to content

Commit e188a39

Browse files
committed
fix command separator from ; to && for windows; prettier for ubuntu
1 parent f1cd74d commit e188a39

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/deploy-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ describe("deploy", () => {
258258
);
259259

260260
const {stdout, stderr} = await promisify(exec)(
261-
"touch readme.md; git add .; git commit -m 'initial'; git remote add origin [email protected]:observablehq/test.git"
261+
"touch readme.md && git add . && git commit -m 'initial' && git remote add origin [email protected]:observablehq/test.git"
262262
);
263263
console.log("starts cloud build test", {stdout, stderr});
264264

test/mocks/directory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export function mockIsolatedDirectory({git}: {git: boolean}) {
1414
if (git) {
1515
console.log("logging stdout, stderr");
1616
const a = await promisify(exec)(
17-
"git config --global user.email \"you@example.com\"; git config --global user.name \"Your Name\"; git config --global init.defaultBranch main"
17+
'git config --global user.email "observable@example.com" && git config --global user.name "Observable User" && git config --global init.defaultBranch main'
1818
);
1919
console.log(a.stdout, a.stderr);
2020
const b = await promisify(exec)("git init");

0 commit comments

Comments
 (0)