We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90613b7 commit 2544b5bCopy full SHA for 2544b5b
1 file changed
browser/main/lib/dataApi.js
@@ -202,8 +202,8 @@ function _saveCaches () {
202
}
203
204
function addStorage (input) {
205
- if (!_.isString(input.path) || !input.path.match(/^\//)) {
206
- return Promise.reject(new Error('Path must be absolute.'))
+ if (!_.isString(input.path)) {
+ return Promise.reject(new Error('Path must be a string.'))
207
208
209
let key = keygen()
0 commit comments