@lvce-editor/test-worker 15.0.0 → 15.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/testWorkerMain.js +11 -12
- package/package.json +1 -1
package/dist/testWorkerMain.js
CHANGED
|
@@ -3944,41 +3944,40 @@ const FindWidget = {
|
|
|
3944
3944
|
};
|
|
3945
3945
|
|
|
3946
3946
|
const init = async () => {
|
|
3947
|
-
// await RendererWorker.invoke('ExtensionHostManagement.activateByEvent', 'onSourceControl:')
|
|
3948
3947
|
await invoke('ExtensionHost.executeCommand', 'git.init');
|
|
3949
3948
|
};
|
|
3950
3949
|
const clone = async (repositoryUrl, cwd) => {
|
|
3951
|
-
await invoke('ExtensionHost.executeCommand', '
|
|
3950
|
+
await invoke('ExtensionHost.executeCommand', 'git.clone', repositoryUrl, cwd);
|
|
3952
3951
|
};
|
|
3953
3952
|
const add = async pathSpec => {
|
|
3954
|
-
await invoke('ExtensionHost.executeCommand', '
|
|
3953
|
+
await invoke('ExtensionHost.executeCommand', 'git.add', pathSpec);
|
|
3955
3954
|
};
|
|
3956
3955
|
const commit = async message => {
|
|
3957
|
-
await invoke('ExtensionHost.executeCommand', '
|
|
3956
|
+
await invoke('ExtensionHost.executeCommand', 'git.commit', message);
|
|
3958
3957
|
};
|
|
3959
3958
|
const push$1 = async (remote, branch) => {
|
|
3960
|
-
await invoke('ExtensionHost.executeCommand', '
|
|
3959
|
+
await invoke('ExtensionHost.executeCommand', 'git.push', remote, branch);
|
|
3961
3960
|
};
|
|
3962
3961
|
const pull = async (remote, branch) => {
|
|
3963
|
-
await invoke('ExtensionHost.executeCommand', '
|
|
3962
|
+
await invoke('ExtensionHost.executeCommand', 'git.pull', remote, branch);
|
|
3964
3963
|
};
|
|
3965
3964
|
const fetch$1 = async remote => {
|
|
3966
|
-
await invoke('ExtensionHost.executeCommand', '
|
|
3965
|
+
await invoke('ExtensionHost.executeCommand', 'git.fetch', remote);
|
|
3967
3966
|
};
|
|
3968
3967
|
const checkout = async ref => {
|
|
3969
|
-
await invoke('ExtensionHost.executeCommand', '
|
|
3968
|
+
await invoke('ExtensionHost.executeCommand', 'git.checkout', ref);
|
|
3970
3969
|
};
|
|
3971
3970
|
const branch = async name => {
|
|
3972
|
-
await invoke('ExtensionHost.executeCommand', '
|
|
3971
|
+
await invoke('ExtensionHost.executeCommand', 'git.branch', name);
|
|
3973
3972
|
};
|
|
3974
3973
|
const status = async () => {
|
|
3975
|
-
return invoke('ExtensionHost.executeCommand', '
|
|
3974
|
+
return invoke('ExtensionHost.executeCommand', 'git.status');
|
|
3976
3975
|
};
|
|
3977
3976
|
const addRemote = async (name, remoteUrl) => {
|
|
3978
|
-
await invoke('ExtensionHost.executeCommand', '
|
|
3977
|
+
await invoke('ExtensionHost.executeCommand', 'git.addRemote', name, remoteUrl);
|
|
3979
3978
|
};
|
|
3980
3979
|
const setConfig = async (key, value) => {
|
|
3981
|
-
await invoke('ExtensionHost.executeCommand', '
|
|
3980
|
+
await invoke('ExtensionHost.executeCommand', 'git.setConfig', key, value);
|
|
3982
3981
|
};
|
|
3983
3982
|
const shouldHaveInvocations = async invocations => {
|
|
3984
3983
|
// TODO
|