pull/5370/head
bunsenstraat 3 years ago
parent d8d29b0444
commit 80d6c1c839
  1. 7
      apps/remix-ide/src/app.js
  2. 3
      apps/remix-ide/src/app/files/fileManager.js

@ -17,11 +17,7 @@ import { HiddenPanel } from './app/components/hidden-panel'
import { VerticalIcons } from './app/components/vertical-icons' import { VerticalIcons } from './app/components/vertical-icons'
import { LandingPage } from './app/ui/landing-page/landing-page' import { LandingPage } from './app/ui/landing-page/landing-page'
import { MainPanel } from './app/components/main-panel' import { MainPanel } from './app/components/main-panel'
import { OffsetToLineColumnConverter, CompilerMetadata, CompilerArtefacts, FetchAndCompile, CompilerImports } from '@remix-project/core-plugin' import { OffsetToLineColumnConverter, CompilerMetadata, CompilerArtefacts, FetchAndCompile, CompilerImports } from '@remix-project/core-plugin'
const isElectron = require('is-electron') const isElectron = require('is-electron')
const csjs = require('csjs-inject') const csjs = require('csjs-inject')
const yo = require('yo-yo') const yo = require('yo-yo')
@ -155,10 +151,7 @@ class App {
registry.put({ api: self._components.filesProviders.localhost, name: 'fileproviders/localhost' }) registry.put({ api: self._components.filesProviders.localhost, name: 'fileproviders/localhost' })
self._components.filesProviders.workspace = new WorkspaceFileProvider() self._components.filesProviders.workspace = new WorkspaceFileProvider()
registry.put({ api: self._components.filesProviders.workspace, name: 'fileproviders/workspace' }) registry.put({ api: self._components.filesProviders.workspace, name: 'fileproviders/workspace' })
registry.put({ api: self._components.filesProviders, name: 'fileproviders' }) registry.put({ api: self._components.filesProviders, name: 'fileproviders' })
} }
init () { init () {

@ -1,7 +1,6 @@
'use strict' 'use strict'
import yo from 'yo-yo' import yo from 'yo-yo'
import async from 'async'
import { Plugin } from '@remixproject/engine' import { Plugin } from '@remixproject/engine'
import * as packageJson from '../../../../../package.json' import * as packageJson from '../../../../../package.json'
const EventEmitter = require('events') const EventEmitter = require('events')
@ -769,7 +768,7 @@ class FileManager extends Plugin {
callback() callback()
}) })
} }
}x }
} }
currentWorkspace () { currentWorkspace () {

Loading…
Cancel
Save