Skip to content

Commit ff60b80

Browse files
committed
more debugging...
1 parent bb9c311 commit ff60b80

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

test/deploy-test.ts

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

260-
await promisify(exec)(
260+
const {stdout, stderr} = await promisify(exec)(
261261
"touch readme.md; git add .; git commit -m 'initial'; git remote add origin [email protected]:observablehq/test.git"
262262
);
263+
console.log({stdout, stderr});
263264

264265
await deploy(TEST_OPTIONS, effects);
265266

test/mocks/directory.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export function mockIsolatedDirectory({ git }: { git: boolean; }) {
1212
dir = await mkdtemp(join(tmpdir(), "framework-test-"));
1313
process.chdir(dir);
1414
if (git) {
15+
console.log("logging stdout, stderr");
1516
const a = (await promisify(exec)("git config --global init.defaultBranch main"))
1617
console.log(a.stdout, a.stderr);
1718
const b = (await promisify(exec)("git init"));

0 commit comments

Comments
 (0)