Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed May 10, 2023
1 parent 218a2c0 commit 6f11f24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ Type: `Function`

- `completedSize` is in bytes
- `percent` is a value between `0` and `1`
- `sourcePath` is the absolute path of the current source files being copied.
- `destinationPath` is the absolute path of the current copied file in the destination directory.
- `sourcePath` is the absolute source path of the current file being copied.
- `destinationPath` is The absolute destination path of the current file being copied.

Note that the `.on()` method is available only right after the initial `cpy` call, so make sure you add a `handler` before awaiting the promise:

Expand Down

0 comments on commit 6f11f24

Please sign in to comment.