From cf1a8166b00858d8709c0684997658d25a709ff8 Mon Sep 17 00:00:00 2001 From: Orta Therox Date: Mon, 22 Aug 2022 09:33:42 +0100 Subject: [PATCH] Update source/platforms/git/gitJSONToGitDSL.ts --- source/platforms/git/gitJSONToGitDSL.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/platforms/git/gitJSONToGitDSL.ts b/source/platforms/git/gitJSONToGitDSL.ts index 54c820c71..0b0d3fe50 100644 --- a/source/platforms/git/gitJSONToGitDSL.ts +++ b/source/platforms/git/gitJSONToGitDSL.ts @@ -36,7 +36,7 @@ export interface GitJSONToGitDSLConfig { /** A promise which will return the string content of a file at a sha */ getFileContents: (path: string, repo: string | undefined, sha: string) => Promise /** A promise which will return the diff string content for a file between shas */ - getFullDiff?: (base: string, head: string, staging: boolean) => Promise + getFullDiff?: (base: string, head: string, staging?: boolean) => Promise getStructuredDiffForFile?: (base: string, head: string, filename: string) => Promise }