Skip to content

Commit 458d0fd

Browse files
dsanders11isaacs
authored andcommitted
docs: clean up duplicate onwarn options
PR-URL: #383 Credit: @dsanders11 Close: #383 Reviewed-by: @isaacs
1 parent afa8cf5 commit 458d0fd

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -451,8 +451,6 @@ The following options are supported:
451451
Pathnames with fewer elements will be silently skipped. Note that
452452
the pathname is edited after applying the filter, but before
453453
security checks. [Alias: `strip-components`, `stripComponents`]
454-
- `onwarn` A function that will get called with `(code, message, data)` for
455-
any warnings encountered. (See "Warnings and Errors")
456454
- `preserveOwner` If true, tar will set the `uid` and `gid` of
457455
extracted entries to the `uid` and `gid` fields in the archive.
458456
This defaults to true when run as root, and false otherwise. If
@@ -779,8 +777,6 @@ Most unpack errors will cause a `warn` event to be emitted. If the
779777
Pathnames with fewer elements will be silently skipped. Note that
780778
the pathname is edited after applying the filter, but before
781779
security checks.
782-
- `onwarn` A function that will get called with `(code, message, data)` for
783-
any warnings encountered. (See "Warnings and Errors")
784780
- `umask` Filter the modes of entries like `process.umask()`.
785781
- `dmode` Default mode for directories
786782
- `fmode` Default mode for files

0 commit comments

Comments
 (0)