Skip to content

Commit fede926

Browse files
author
Observable User
committed
ah i had another case of touch
1 parent 3f0bbb8 commit fede926

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

test/deploy-test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,9 @@ describe("deploy", () => {
301301
"bi" // Which app do you want to use?
302302
);
303303

304+
await (await open("readme.md", "a")).close();
304305
await promisify(exec)(
305-
"touch readme.md; git add .; git commit -m 'initial'; git remote add origin https://github.com/observablehq/test.git"
306+
"git add . && git commit -m 'initial' && git remote add origin https://github.com/observablehq/test.git"
306307
);
307308

308309
await deploy(TEST_OPTIONS, effects);

test/mocks/directory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {mkdtemp, rm} from "fs/promises";
33
import {tmpdir} from "os";
44
import {join} from "path/posix";
55
import {promisify} from "util";
6-
import {rimraf} from "rimraf";
6+
// import {rimraf} from "rimraf";
77

88
export function mockIsolatedDirectory({git}: {git: boolean}) {
99
let dir: string;

0 commit comments

Comments
 (0)