From 2731c10cfdef9c523e431569f85d4c3964780401 Mon Sep 17 00:00:00 2001 From: James Ives Date: Sun, 10 Nov 2019 14:55:00 -0500 Subject: [PATCH] Debugging --- lib/git.js | 2 +- src/git.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/git.js b/lib/git.js index cca1fca5..6e3df6a5 100644 --- a/lib/git.js +++ b/lib/git.js @@ -85,7 +85,7 @@ function deploy() { yield generateBranch(); } console.log('list', yield util_1.execute(`ls`, constants_1.action.build)); - yield util_1.execute(`git checkout --orphan ${constants_1.repositoryPath}`, constants_1.action.branch); + yield util_1.execute(`git checkout --orphan ${constants_1.repositoryPath}`, constants_1.action.build); yield util_1.execute(`git remote rm origin`, constants_1.action.build); yield util_1.execute(`git remote add origin ${constants_1.repositoryPath}`, constants_1.action.build); yield util_1.execute(`git add --all`, constants_1.action.build); diff --git a/src/git.ts b/src/git.ts index fbe4da1f..16c1023c 100644 --- a/src/git.ts +++ b/src/git.ts @@ -76,7 +76,7 @@ export async function deploy(): Promise { console.log('list', await execute(`ls`, action.build)) - await execute(`git checkout --orphan ${repositoryPath}`, action.branch) + await execute(`git checkout --orphan ${repositoryPath}`, action.build) await execute(`git remote rm origin`, action.build) await execute(`git remote add origin ${repositoryPath}`, action.build)