From aeec6c67a64fe17c434356af12e7c411fc908699 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 12 Jul 2024 13:32:02 +0200 Subject: [PATCH] import fix --- apps/remix-ide/src/app/files/dgitProvider.ts | 8 +------- tsconfig.paths.json | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/apps/remix-ide/src/app/files/dgitProvider.ts b/apps/remix-ide/src/app/files/dgitProvider.ts index a3a3a000af..96e1da82a0 100644 --- a/apps/remix-ide/src/app/files/dgitProvider.ts +++ b/apps/remix-ide/src/app/files/dgitProvider.ts @@ -13,8 +13,7 @@ import { branch, commitChange, remote } from '@remix-ui/git' import { checkoutInputType, statusInput, logInputType, author, pagedCommits, remoteCommitsInputType, cloneInputType, fetchInputType, pullInputType, pushInputType, currentBranchInput, branchInputType, addInputType, rmInputType, resolveRefInput, readBlobInput, repositoriesInput, commitInputType, branchDifference, compareBranchesInput, initInputType, isoGitFSConfig, GitHubUser, userEmails } from '@remix-api' import { LibraryProfile } from '@remixproject/plugin-utils' import { CustomRemixApi } from '@remix-api' -import { isoGit } from "libs/remix-git/src/isogit" - +import { isoGit } from "@remix-git" declare global { interface Window { remixFileSystemCallback: IndexedDBStorage; remixFileSystem: any; } } @@ -49,7 +48,6 @@ class DGitProvider extends Plugin { return await this.call('config' as any, 'getAppParameter', 'settings/gist-access-token') } - async getAuthor(input) { const author: author = { name: '', @@ -323,7 +321,6 @@ class DGitProvider extends Plugin { return readBlobResult } - async addremote(input: remote): Promise { if ((Registry.getInstance().get('platform').api.isDesktop())) { await this.call('isogit', 'addremote', input) @@ -548,7 +545,6 @@ class DGitProvider extends Plugin { async pull(input: pullInputType) { - let result if ((Registry.getInstance().get('platform').api.isDesktop())) { result = await this.call('isogit', 'pull', input) @@ -564,7 +560,6 @@ class DGitProvider extends Plugin { async fetch(input: fetchInputType) { - let result if ((Registry.getInstance().get('platform').api.isDesktop())) { result = await this.call('isogit', 'fetch', { @@ -580,7 +575,6 @@ class DGitProvider extends Plugin { return result } - // OCTOKIT FEATURES async remotebranches(input: { owner: string, repo: string, token: string, page: number, per_page: number }) { diff --git a/tsconfig.paths.json b/tsconfig.paths.json index 83c51dba1b..823c81e27c 100644 --- a/tsconfig.paths.json +++ b/tsconfig.paths.json @@ -182,7 +182,7 @@ "libs/remix-api/src/index.ts" ], "@remix-git": [ - "libs/remix-git/src/index.ts" + "libs/remix-git/" ] } }