From 3471f851f6cb9d9ef1426bbb7b05b038f65babd8 Mon Sep 17 00:00:00 2001 From: John Wesley Walker III <81404201+jww3@users.noreply.github.com> Date: Tue, 12 Mar 2024 15:44:30 +0000 Subject: [PATCH] ran `npm run format` --- __test__/git-version.test.ts | 3 +-- src/git-command-manager.ts | 2 +- src/git-source-provider.ts | 5 ++++- 3 files changed, 6 insertions(+), 4 deletions(-) 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 {