diff --git a/__test__/git-version.test.ts b/__test__/git-version.test.ts index 5a92706..0304cfd 100644 --- a/__test__/git-version.test.ts +++ b/__test__/git-version.test.ts @@ -1,7 +1,6 @@ -import { GitVersion } from '../src/git-version' +import {GitVersion} from '../src/git-version' import {MinimumGitSparseCheckoutVersion} from '../src/git-command-manager' - describe('git-version tests', () => { it('basics', async () => { let version = new GitVersion('') diff --git a/src/git-command-manager.ts b/src/git-command-manager.ts index 0ddd565..4ad49fd 100644 --- a/src/git-command-manager.ts +++ b/src/git-command-manager.ts @@ -13,7 +13,7 @@ import {GitVersion} from './git-version' // Wire protocol v2 not supported before 2.18 // sparse-checkout not supported before 2.25 export const MinimumGitVersion = new GitVersion('2.18') -export const MinimumGitSparseCheckoutVersion = new GitVersion('2.25'); +export const MinimumGitSparseCheckoutVersion = new GitVersion('2.25') export interface IGitCommandManager { branchDelete(remote: boolean, branch: string): Promise diff --git a/src/git-source-provider.ts b/src/git-source-provider.ts index 15c668a..f723d94 100644 --- a/src/git-source-provider.ts +++ b/src/git-source-provider.ts @@ -9,7 +9,10 @@ import * as path from 'path' import * as refHelper from './ref-helper' import * as stateHelper from './state-helper' import * as urlHelper from './url-helper' -import {MinimumGitSparseCheckoutVersion, IGitCommandManager} from './git-command-manager' +import { + MinimumGitSparseCheckoutVersion, + IGitCommandManager +} from './git-command-manager' import {IGitSourceSettings} from './git-source-settings' export async function getSource(settings: IGitSourceSettings): Promise {