update method name

pull/638/head
yann300 4 years ago
parent 7d02418438
commit 80c270ccd7
  1. 3
      apps/remix-ide/src/app/files/git-handle.js
  2. 3
      libs/remixd/src/services/gitClient.ts

@ -5,8 +5,7 @@ const profile = {
name: 'git',
displayName: 'Git',
url: 'ws://127.0.0.1:65521',
methods: ['command'],
events: [],
methods: ['execute'],
description: 'Using Remixd daemon, allow to access git API',
kind: 'other',
version: packageJson.version

@ -1,10 +1,9 @@
import * as WS from 'ws' // eslint-disable-line
import { PluginClient } from '@remixproject/plugin'
const { spawn } = require('child_process')
const gitRegex = '^git\\s[^&|;]*$'
export class GitClient extends PluginClient {
methods: ['command']
methods: ['execute']
websocket: WS
currentSharedFolder: string
readOnly: boolean

Loading…
Cancel
Save