@capacitor/filesystem 7.1.0-dev.2 → 7.1.0

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor/filesystem",
3
- "version": "7.1.0-dev.2",
3
+ "version": "7.1.0",
4
4
  "description": "The Filesystem API provides a NodeJS-like API for working with files on the device.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",