Add LibGitGraph package + minor improvement on libantosdk

This commit is contained in:
lxsang
2022-07-04 21:13:55 +02:00
parent 6c678b53d9
commit e058dcf9d6
21 changed files with 115 additions and 1102 deletions

View File

@ -446,7 +446,13 @@ class VFSJob extends AntOSDKBaseJob {
case 'rm':
this.delete(this.job.data)
.then(d => this.result(d))
.catch(e => this.error(e));
.catch((e) => {
if(this.job.ignore_error)
{
return this.result(false);
}
this.error(e);
});
break;
case 'mkdir':
this.mkdir(this.job.data)