mirror of
https://github.com/microsoft/vscode.git
synced 2026-03-01 06:06:04 +00:00
scm: remove commit method from api
This commit is contained in:
@@ -38,14 +38,6 @@ class MainThreadSCMProvider implements ISCMProvider {
|
||||
this.disposables.push(scmService.registerSCMProvider(this));
|
||||
}
|
||||
|
||||
commit(message: string): TPromise<void> {
|
||||
if (!this.features.supportsCommit) {
|
||||
return TPromise.as(null);
|
||||
}
|
||||
|
||||
return this.proxy.$commit(this.id, message);
|
||||
}
|
||||
|
||||
open(resource: ISCMResource): TPromise<void> {
|
||||
if (!this.features.supportsOpen) {
|
||||
return TPromise.as(null);
|
||||
|
||||
Reference in New Issue
Block a user