Skip to content

Commit 1c9723a

Browse files
troubleshooting error
1 parent c5d76d5 commit 1c9723a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

www/ios/FileSystem.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,12 @@ FILESYSTEM_PROTOCOL = 'cdvfile';
2323

2424
module.exports = {
2525
__format__: function (fullPath, internalUrl) {
26-
// todo move to fileSystem like the toInternalUrl as above
2726
console.error('__format__', fullPath, internalUrl);
2827
var path = ('/' + this.name + (fullPath[0] === '/' ? '' : '/') + FileSystem.encodeURIPath(fullPath)).replace('//', '/');
2928
var cdvFilePath = FILESYSTEM_PROTOCOL + '://localhost' + path;
3029

3130
if (cdvFilePath && window && window.WkWebView) { // https://github.com/apache/cordova-plugin-file/pull/457/commits/fea030f4e870ad7a2f07a8063c7da894ee9b2818
32-
var convertedFilePath = window.WkWebView.convertFilePath(cdvFilePath);
31+
var convertedFilePath = window.WkWebView.convertFilePath(cdvFilePath);
3332
console.error('convertedFilePath', cdvFilePath, convertedFilePath);
3433
return convertedFilePath;
3534
}

0 commit comments

Comments
 (0)