Skip to content

Commit

Permalink
chore: delete unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
piquark6046 committed Feb 14, 2024
1 parent 8487beb commit 7ebe22e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions sources/branches.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ import * as Os from 'node:os'
import type * as Types from './types.js'
import {IsDebug} from './debug.js'

function CreateGitHubInstance(ProgramOptions: Types.ProgramOptionsType): GitHub.Octokit {
const GitHubInstance = new GitHub.Octokit({auth: ProgramOptions.ghToken})
return GitHubInstance
}

function CreateGitInstance(BasePath: string): Git.SimpleGit {
const GitInstance = Git.simpleGit(BasePath, {maxConcurrentProcesses: Os.cpus().length})
return GitInstance
Expand Down
5 changes: 0 additions & 5 deletions sources/commits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ import * as Os from 'node:os'
import {DateTime} from 'luxon'
import type * as Types from './types.js'

function CreateGitHubInstance(ProgramOptions: Types.ProgramOptionsType): GitHub.Octokit {
const GitHubInstance = new GitHub.Octokit({auth: ProgramOptions.ghToken})
return GitHubInstance
}

function CreateGitInstance(BasePath: string): Git.SimpleGit {
const GitInstance = Git.simpleGit(BasePath, {maxConcurrentProcesses: Os.cpus().length})
return GitInstance
Expand Down

0 comments on commit 7ebe22e

Please sign in to comment.