@capacitor/filesystem 7.1.0-dev.2 → 7.1.0-dev.3
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.
|
@@ -60,7 +60,7 @@ extension CAPPluginCall {
|
|
|
60
60
|
private func getSearchPath(
|
|
61
61
|
_ key: String, withDefaultSearchPath defaultSearchPath: IONFILESearchPath, andDefaultDirectoryType defaultDirectoryType: IONFILEDirectoryType? = nil
|
|
62
62
|
) -> IONFILESearchPath {
|
|
63
|
-
guard let directoryParameter = getString(key) else {
|
|
63
|
+
guard let directoryParameter = getString(key), directoryParameter.isEmpty == false else {
|
|
64
64
|
return defaultSearchPath
|
|
65
65
|
}
|
|
66
66
|
|
package/package.json
CHANGED