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

Commit 942505c

Browse files
committed
Merge pull request #6745 from adobe/nj/release-remove-overwrite-dialog
Temporary workaround for #6437: always allow blind writes (but log the issue)
2 parents ec17105 + 4c37e87 commit 942505c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/filesystem/impls/appshell/AppshellFileSystem.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,8 +422,12 @@ define(function (require, exports, module) {
422422

423423
if (options.hasOwnProperty("expectedHash") && options.expectedHash !== stats._hash) {
424424
console.error("Blind write attempted: ", path, stats._hash, options.expectedHash);
425-
callback(FileSystemError.CONTENTS_MODIFIED);
426-
return;
425+
426+
// Temporary change for release 36: allow the blind write anyway. We're getting
427+
// spurious cases where file modification times are being changed without actually
428+
// changing the content and without sending us a file change notification.
429+
// callback(FileSystemError.CONTENTS_MODIFIED);
430+
// return;
427431
}
428432

429433
_finishWrite(false);

0 commit comments

Comments
 (0)