Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Temporary workaround for #6437: always allow blind writes (but log th…
Browse files Browse the repository at this point in the history
…e issue)
  • Loading branch information
Narciso Jaramillo committed Feb 3, 2014
1 parent ec17105 commit 4c37e87
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/filesystem/impls/appshell/AppshellFileSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,12 @@ define(function (require, exports, module) {

if (options.hasOwnProperty("expectedHash") && options.expectedHash !== stats._hash) {
console.error("Blind write attempted: ", path, stats._hash, options.expectedHash);
callback(FileSystemError.CONTENTS_MODIFIED);
return;

// Temporary change for release 36: allow the blind write anyway. We're getting
// spurious cases where file modification times are being changed without actually
// changing the content and without sending us a file change notification.
// callback(FileSystemError.CONTENTS_MODIFIED);
// return;
}

_finishWrite(false);
Expand Down

0 comments on commit 4c37e87

Please sign in to comment.