Index: lib/filesystem/io.js |
=================================================================== |
--- a/lib/filesystem/io.js |
+++ b/lib/filesystem/io.js |
@@ -49,20 +49,20 @@ var IO = exports.IO = |
}, |
readFromFile: function(file, decode, listener, callback, timeLineID) |
{ |
if ("spec" in file && /^defaults\b/.test(file.spec)) |
{ |
// Code attempts to read the default patterns.ini, we don't have that. |
// Make sure to execute first-run actions instead. |
- callback(null); |
if (localStorage.currentVersion) |
seenDataCorruption = true; |
delete localStorage.currentVersion; |
+ callback(null); |
return; |
} |
this._getFileEntry(file, false, function(fs, fileEntry) |
{ |
fileEntry.file(function(file) |
{ |
var reader = new FileReader(); |