update libantosdk

This commit is contained in:
lxsang 2022-07-04 21:47:25 +02:00
parent 92025918e0
commit e48c535f08
4 changed files with 6 additions and 7 deletions

View File

@ -4,9 +4,8 @@
"clean": {
"jobs": [
{
"name": "vfs-rm",
"data": ["build/debug","build/release"],
"ignore_error": true
"name": "vfs-rm_no_error",
"data": ["build/debug","build/release"]
}
]
},

View File

@ -448,7 +448,7 @@ class VFSJob extends AntOSDKBaseJob {
.then(d => this.result(d))
.catch((e) =>this.error(e));
break;
case 'rm-no-error':
case 'rm_no_error':
this.delete(this.job.data)
.then(d => this.result(d))
.catch((e) =>this.result(false));
@ -478,7 +478,7 @@ API.jobhandle["sdk-import"] = LoadScritpJob;
API.jobhandle["sdk-setup"] = SDKSetup;
API.jobhandle["vfs-cat"] = VFSJob;
API.jobhandle["vfs-rm"] = VFSJob;
API.jobhandle["vfs-rm-no-error"] = VFSJob;
API.jobhandle["vfs-rm_no_error"] = VFSJob;
API.jobhandle["vfs-mkdir"] = VFSJob;
API.jobhandle["vfs-cp"] = VFSJob;

View File

@ -448,7 +448,7 @@ class VFSJob extends AntOSDKBaseJob {
.then(d => this.result(d))
.catch((e) =>this.error(e));
break;
case 'rm-no-error':
case 'rm_no_error':
this.delete(this.job.data)
.then(d => this.result(d))
.catch((e) =>this.result(false));
@ -478,7 +478,7 @@ API.jobhandle["sdk-import"] = LoadScritpJob;
API.jobhandle["sdk-setup"] = SDKSetup;
API.jobhandle["vfs-cat"] = VFSJob;
API.jobhandle["vfs-rm"] = VFSJob;
API.jobhandle["vfs-rm-no-error"] = VFSJob;
API.jobhandle["vfs-rm_no_error"] = VFSJob;
API.jobhandle["vfs-mkdir"] = VFSJob;
API.jobhandle["vfs-cp"] = VFSJob;