From e3a3ab70d6806dbc462f1ace73daf9a869aace0f Mon Sep 17 00:00:00 2001 From: Jonathan Grimes Date: Fri, 28 Feb 2020 12:13:28 -0600 Subject: [PATCH] cleanup unintentional edit --- dist/index.js | 1 - src/git-source-provider.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index bafca12..fdc27bc 100644 --- a/dist/index.js +++ b/dist/index.js @@ -5536,7 +5536,6 @@ exports.cleanup = cleanup; function getGitCommandManager(settings) { return __awaiter(this, void 0, void 0, function* () { core.info(`Working directory is '${settings.repositoryPath}'`); - // const git = (null as unknown) as IGitCommandManager try { return yield gitCommandManager.CreateCommandManager(settings.repositoryPath, settings.lfs); } diff --git a/src/git-source-provider.ts b/src/git-source-provider.ts index d64a99e..968314f 100644 --- a/src/git-source-provider.ts +++ b/src/git-source-provider.ts @@ -164,7 +164,7 @@ async function getGitCommandManager( settings: ISourceSettings ): Promise { core.info(`Working directory is '${settings.repositoryPath}'`) - // const git = (null as unknown) as IGitCommandManager + try { return await gitCommandManager.CreateCommandManager( settings.repositoryPath,