Commit 80c270cc authored by yann300's avatar yann300

update method name

parent 7d024184
...@@ -5,8 +5,7 @@ const profile = { ...@@ -5,8 +5,7 @@ const profile = {
name: 'git', name: 'git',
displayName: 'Git', displayName: 'Git',
url: 'ws://127.0.0.1:65521', url: 'ws://127.0.0.1:65521',
methods: ['command'], methods: ['execute'],
events: [],
description: 'Using Remixd daemon, allow to access git API', description: 'Using Remixd daemon, allow to access git API',
kind: 'other', kind: 'other',
version: packageJson.version version: packageJson.version
......
import * as WS from 'ws' // eslint-disable-line import * as WS from 'ws' // eslint-disable-line
import { PluginClient } from '@remixproject/plugin' import { PluginClient } from '@remixproject/plugin'
const { spawn } = require('child_process') const { spawn } = require('child_process')
const gitRegex = '^git\\s[^&|;]*$'
export class GitClient extends PluginClient { export class GitClient extends PluginClient {
methods: ['command'] methods: ['execute']
websocket: WS websocket: WS
currentSharedFolder: string currentSharedFolder: string
readOnly: boolean readOnly: boolean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment