rm unneeded function

pull/1342/head
bunsenstraat 3 years ago committed by davidzagi93@gmail.com
parent edbc86969c
commit 3c8bea0785
  1. 12
      apps/remix-ide/src/app/files/dgitProvider.js
  2. 1
      apps/remix-ide/src/remixAppManager.js
  3. 4
      replacemodules.sh

@ -21,7 +21,7 @@ const profile = {
description: '',
icon: 'assets/img/fileManager.webp',
version: '0.0.1',
methods: ['delay', 'init', 'localStorageUsed', 'addremote', 'delremote', 'remotes', 'fetch', 'clone', 'export', 'import', 'status', 'log', 'commit', 'add', 'remove', 'rm', 'lsfiles', 'readblob', 'resolveref', 'branches', 'branch', 'checkout', 'currentbranch', 'push', 'pin', 'pull', 'pinList', 'unPin', 'setIpfsConfig', 'zip', 'setItem', 'getItem'],
methods: ['init', 'localStorageUsed', 'addremote', 'delremote', 'remotes', 'fetch', 'clone', 'export', 'import', 'status', 'log', 'commit', 'add', 'remove', 'rm', 'lsfiles', 'readblob', 'resolveref', 'branches', 'branch', 'checkout', 'currentbranch', 'push', 'pin', 'pull', 'pinList', 'unPin', 'setIpfsConfig', 'zip', 'setItem', 'getItem'],
kind: 'file-system'
}
class DGitProvider extends Plugin {
@ -70,16 +70,6 @@ class DGitProvider extends Plugin {
}
}
async delay (num) {
console.log('delay called', num)
return new Promise((resolve, reject) => {
setTimeout(() => {
console.log('delay resolved', num)
resolve(true)
}, 10000)
})
}
async init (input) {
await git.init({
...await this.getGitConfig(),

@ -117,7 +117,6 @@ export class RemixAppManager extends PluginManager {
}
return true
})
localStorage.setItem('plugins-directory', JSON.stringify(plugins))
} catch (e) {
console.log('getting plugins list from localstorage...')

@ -1,4 +0,0 @@
cp -R /Volumes/butbut/code/testp/remix-plugin/dist/packages/engine/core/lib/* ./node_modules/@remixproject/engine/lib/
cp -R /Volumes/butbut/code/testp/remix-plugin/dist/packages/utils/lib/* ./node_modules/@remixproject/plugin-utils/lib/
cp -R /Volumes/butbut/code/testp/remix-plugin/dist/packages/utils/index* ./node_modules/@remixproject/plugin-utils/
cp -R /Volumes/butbut/code/testp/remix-plugin/dist/packages/plugin/core/lib/* ./node_modules/@remixproject/plugin/lib/
Loading…
Cancel
Save