commit | 35f0af286f5b60f42d66a71317a68dbf33153e19 | [log] [tgz] |
---|---|---|
author | macdonst <simon.macdonald@gmail.com> | Tue Apr 10 10:01:19 2012 -0400 |
committer | macdonst <simon.macdonald@gmail.com> | Tue Apr 10 10:01:19 2012 -0400 |
tree | 6751829aed1824b291e24d571b33902782cccc6c | |
parent | 91bcaf73e3c3af82045c7d07ff0b53534e462937 [diff] | |
parent | e79df00ee2a146b39b09aa3d2952ae9e2d28b60b [diff] |
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-js
diff --git a/lib/common/plugin/FileWriter.js b/lib/common/plugin/FileWriter.js index e0e5626..652240b 100644 --- a/lib/common/plugin/FileWriter.js +++ b/lib/common/plugin/FileWriter.js
@@ -158,7 +158,7 @@ throw new FileError(FileError.INVALID_STATE_ERR); } - if (!offset) { + if (!offset && offset != 0) { return; }