Skip to content

Commit

Permalink
Merge pull request joltup#132 from pexels/fix/append-file-transform-p…
Browse files Browse the repository at this point in the history
…aram-bug

append file - add in missing parameter
  • Loading branch information
RonRadtke authored Mar 23, 2022
2 parents acfb2f0 + d546291 commit 5e17a74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ function appendFile(path: string, data: string | Array<number>, encoding?: strin
return Promise.reject(addCode('EINVAL'), new TypeError(`"data" must be a String when encoding is "utf8" or "base64", but it is "${typeof data}"`));
}
else
return ReactNativeBlobUtil.writeFile(path, encoding, data, true);
return ReactNativeBlobUtil.writeFile(path, encoding, data, false, true);
}
}

Expand Down

0 comments on commit 5e17a74

Please sign in to comment.