@@ -450,13 +450,8 @@ func BatchDelete(cmd string, params ...string) {
450
450
}
451
451
452
452
func batchDelete (client rs.Client , entries []rs.EntryPath ) {
453
- ret , err := qshell .BatchDelete (client , entries )
454
- if err != nil {
455
- if _ , ok := err .(* rpc.ErrorInfo ); ! ok {
456
- fmt .Println ("Batch delete error" , err )
457
- return
458
- }
459
- }
453
+ ret , _ := qshell .BatchDelete (client , entries )
454
+
460
455
if len (ret ) > 0 {
461
456
for i , entry := range entries {
462
457
item := ret [i ]
@@ -545,7 +540,7 @@ func BatchChgm(cmd string, params ...string) {
545
540
func batchChgm (client rs.Client , entries []qshell.ChgmEntryPath ) {
546
541
ret , err := qshell .BatchChgm (client , entries )
547
542
if err != nil {
548
- fmt .Println ("Batch chgm error" , err )
543
+ fmt .Println ("Batch chgm error" )
549
544
}
550
545
if len (ret ) > 0 {
551
546
for i , entry := range entries {
@@ -634,7 +629,7 @@ func BatchRename(cmd string, params ...string) {
634
629
func batchRename (client rs.Client , entries []qshell.RenameEntryPath ) {
635
630
ret , err := qshell .BatchRename (client , entries )
636
631
if err != nil {
637
- fmt .Println ("Batch rename error" , err )
632
+ fmt .Println ("Batch rename error" )
638
633
}
639
634
if len (ret ) > 0 {
640
635
for i , entry := range entries {
@@ -727,7 +722,7 @@ func BatchMove(cmd string, params ...string) {
727
722
func batchMove (client rs.Client , entries []qshell.MoveEntryPath ) {
728
723
ret , err := qshell .BatchMove (client , entries )
729
724
if err != nil {
730
- fmt .Println ("Batch move error" , err )
725
+ fmt .Println ("Batch move error" )
731
726
}
732
727
if len (ret ) > 0 {
733
728
for i , entry := range entries {
@@ -822,7 +817,7 @@ func BatchCopy(cmd string, params ...string) {
822
817
func batchCopy (client rs.Client , entries []qshell.CopyEntryPath ) {
823
818
ret , err := qshell .BatchCopy (client , entries )
824
819
if err != nil {
825
- fmt .Println ("Batch move error" , err )
820
+ fmt .Println ("Batch copy error" )
826
821
}
827
822
if len (ret ) > 0 {
828
823
for i , entry := range entries {
0 commit comments