diff --git a/src/services/db/GitFileSystemService.ts b/src/services/db/GitFileSystemService.ts index cbd1831d3..76082506d 100644 --- a/src/services/db/GitFileSystemService.ts +++ b/src/services/db/GitFileSystemService.ts @@ -360,19 +360,6 @@ export default class GitFileSystemService { ) } - hi(siteName: string, originalStagingCommitSha: string) { - const rollbackRes = this.rollback( - siteName, - originalStagingCommitSha, - STAGING_BRANCH - ) - .andThen(() => - this.rollback(siteName, originalStagingCommitSha, STAGING_LITE_BRANCH) - ) - .unwrapOr(false) - if (!rollbackRes) throw new GitFileSystemError("Rollback failure") - } - cloneBranch( repoName: string, isStaging: boolean diff --git a/src/services/db/GitHubService.ts b/src/services/db/GitHubService.ts index add517f96..e72056892 100644 --- a/src/services/db/GitHubService.ts +++ b/src/services/db/GitHubService.ts @@ -194,7 +194,6 @@ export default class GitHubService { content: encodedContent, branch: branchName, } - console.log("params", params) const resp = await this.axiosInstance.put(endpoint, params, { headers: { Authorization: `token ${accessToken}`, @@ -777,8 +776,6 @@ export default class GitHubService { }) } } else if (item.path === newPath && item.type !== "tree") { - console.log("item.path", item.path) - console.log("newPath", newPath) throw new ConflictError("Target file already exists") } else if (item.path === oldPath && item.type !== "tree") { // Add file to new directory