Skip to content

Commit a1db685

Browse files
committed
Remove default value on writeFile isAppend agrument
1 parent 3a8b11d commit a1db685

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "react-native-filesystem-v1",
33
"description": "Simple file system API for iOS & Android & Windows.",
44
"author": "Ben Wixen <[email protected]>, HuyNQ <[email protected]>",
5-
"version": "0.10.5",
5+
"version": "0.10.6",
66
"main": "modules/FileSystem.js",
77
"scripts": {
88
"test": "echo \"Error: no test specified\" && exit 1"

windows/RNFileSystem/RNFileSystemModule.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ private Dictionary<string, string> getPathAndFilename(string path)
8989
return result;
9090
}
9191

92-
private async Task writeFile(string relativePath, string content, bool isAppend = false, Storage storage)
92+
private async Task writeFile(string relativePath, string content, bool isAppend, Storage storage)
9393
{
9494
string baseDir = baseDirForStorage(storage);
9595

@@ -118,7 +118,6 @@ private async Task writeFile(string relativePath, string content, bool isAppend
118118
{
119119
await FileIO.WriteTextAsync(file, content);
120120
}
121-
122121
}
123122
catch (Exception e)
124123
{

0 commit comments

Comments
 (0)