pull/5370/head
filip mertens 1 year ago
parent 1e3e2726fd
commit e09526ef72
  1. 4
      apps/remix-ide/src/app/files/dgitProvider.ts
  2. 3
      libs/remix-ui/app/src/lib/remix-app/context/context.tsx

@ -55,7 +55,7 @@ class DGitProvider extends Plugin {
this.ipfsSources = [this.remixIPFS, this.globalIPFSConfig, this.ipfsconfig]
}
async getGitConfig() {
async getGitConfig(dir = '') {
if ((Registry.getInstance().get('platform').api.isDesktop())) {
return {
@ -458,7 +458,7 @@ class DGitProvider extends Plugin {
const gitmodules = await this.call('fileManager', 'readFile', path.join(dir, '.gitmodules'))
if (gitmodules) {
const lines = gitmodules.split('\n')
let currentModule = {}
let currentModule:any = {}
let modules = []
for (let line of lines) {
line = line.trim()

@ -4,7 +4,8 @@ import {ModalInitialState} from '../state/modals'
export type appProviderContextType = {
settings: any,
showMatamo: boolean
showMatamo: boolean,
showEnter: boolean,
appManager: any
modal: any
layout: any

Loading…
Cancel
Save