Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/src/git-auth-helper.ts
diff options
context:
space:
mode:
authorCory Miller <13227161+cory-miller@users.noreply.github.com>2024-04-24 12:04:10 -0400
committerGitHub <noreply@github.com>2024-04-24 12:04:10 -0400
commit77eabb37dbe5cc705ca71a065bc5b19443b802dd (patch)
tree5debd944e8396fc3c708d1252d7d26c1400c2b10 /src/git-auth-helper.ts
parent92d604f0b71b629ce5b6949f8e3a3e9f1c17bad9 (diff)
Update NPM dependencies (#1703)
* Update dependencies manually * Format files * Update licenses
Diffstat (limited to 'src/git-auth-helper.ts')
-rw-r--r--src/git-auth-helper.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/git-auth-helper.ts b/src/git-auth-helper.ts
index 364a04e..126e8e5 100644
--- a/src/git-auth-helper.ts
+++ b/src/git-auth-helper.ts
@@ -8,7 +8,7 @@ import * as path from 'path'
import * as regexpHelper from './regexp-helper'
import * as stateHelper from './state-helper'
import * as urlHelper from './url-helper'
-import {default as uuid} from 'uuid/v4'
+import {v4 as uuid} from 'uuid'
import {IGitCommandManager} from './git-command-manager'
import {IGitSourceSettings} from './git-source-settings'
@@ -49,7 +49,7 @@ class GitAuthHelper {
gitSourceSettings: IGitSourceSettings | undefined
) {
this.git = gitCommandManager
- this.settings = gitSourceSettings || (({} as unknown) as IGitSourceSettings)
+ this.settings = gitSourceSettings || ({} as unknown as IGitSourceSettings)
// Token auth header
const serverUrl = urlHelper.getServerUrl(this.settings.githubServerUrl)