Skip to content

Commit 3f0bbb8

Browse files
author
Observable User
committed
oops i wasnt actually closing the file i made. good call, windows. rolling back other forcing things to see if i still need them
1 parent dd50d70 commit 3f0bbb8

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

test/deploy-test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,7 @@ describe("deploy", () => {
257257
true // Do you want to enable continuous deployment?
258258
);
259259

260-
await (
261-
await open("readme.md", "a")
262-
).close;
260+
await (await open("readme.md", "a")).close();
263261
const {stdout, stderr} = await promisify(exec)(
264262
"git add . && git commit -m 'initial' && git remote add origin [email protected]:observablehq/test.git"
265263
);

test/mocks/directory.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function mockIsolatedDirectory({git}: {git: boolean}) {
2525

2626
afterEach(async () => {
2727
process.chdir(cwd);
28-
await rimraf(dir);
29-
// await rm(dir, {recursive: true, force: true});
28+
// await rimraf(dir);
29+
await rm(dir, {recursive: true}); //, force: true
3030
});
3131
}

0 commit comments

Comments
 (0)