Skip to content

Commit

Permalink
fix(filesystem): rmdir doesn't resolve on iOS (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
leo6104 authored Feb 5, 2021
1 parent 46ce6b2 commit 7ca538b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions filesystem/ios/Plugin/FilesystemPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ public class FilesystemPlugin: CAPPlugin {

do {
try implementation.rmdir(at: fileUrl, recursive: recursive)
call.resolve()
} catch let error as NSError {
handleError(call, error.localizedDescription, error)
}
Expand Down

0 comments on commit 7ca538b

Please sign in to comment.