mobiletto 1.1.8 → 1.1.9

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -209,7 +209,7 @@ const UTILITY_FUNCTIONS = {
209
209
  },
210
210
  write: (client) => async (path, data) => {
211
211
  logger.debug(`util.write(${path}) starting ...`)
212
- const p = path.startsWith(this.delimiter) ? path.substring(1) : path
212
+ const p = path.startsWith('/') ? path.substring(1) : path
213
213
  if (p !== path) {
214
214
  logger.debug(`util.write(${path}) removed leading ${this.delimiter}`)
215
215
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobiletto",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "A storage layer that presents a uniform interface to Amazon S3, Backblaze B2, and local storage",
5
5
  "main": "index.js",
6
6
  "keywords": [