Skip to content

Commit f211ca8

Browse files
YaoHuiJiplrthink
authored andcommitted
Update README.md
sorry, I'm not a native speaker, missing an 'if'
1 parent 4c79098 commit f211ca8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ import { MainBundlePath, DocumentDirectoryPath } from 'react-native-fs'
5353
5454
***NOTE: only support zip folder, not file entries***
5555

56-
***NOTE: the string version of source is for folder, the string[] version is for file, so you want to zip a single file, use zip([file]) instead of zip(file)***
56+
***NOTE: the string version of source is for folder, the string[] version is for file, so if you want to zip a single file, use zip([file]) instead of zip(file)***
5757

5858
Example
5959

@@ -76,7 +76,7 @@ zip(sourcePath, targetPath)
7676
7777
***NOTE: only support zip folder, not file entries***
7878

79-
***NOTE: the string version of source is for folder, the string[] version is for file, so you want to zip a single file, use zip([file]) instead of zip(file)***
79+
***NOTE: the string version of source is for folder, the string[] version is for file, so if you want to zip a single file, use zip([file]) instead of zip(file)***
8080

8181
***NOTE: encryptionType is not supported on iOS yet, so it would be igonred on that platform.***
8282

0 commit comments

Comments
 (0)