From a771e8ecba842cf0d622734e442ec8cb12ee1c9b Mon Sep 17 00:00:00 2001 From: Yao Date: Thu, 14 Sep 2023 21:56:41 +0800 Subject: [PATCH] Update README.md typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cf974b3..d86c84d 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ zip(sourcePath, targetPath) **`zipWithPassword(source: string | string[], target: string, password: string, encryptionType: string): Promise`** -> zip source to target` +> zip source to target ***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)***