mafintosh / tar-fs

fs bindings for tar-stream
MIT License
350 stars 75 forks source link

Fix a typo in the code #68

Closed wewei closed 6 years ago

wewei commented 6 years ago

Problem:

When using the tar-fs with custom fs, the mkdirp method still use the standard fs. The root cause is a typo in mkdirfix method. The file system object is passed with fs option, but consumed through xfs.

Fix:

Replace xfs with fs in mkdirfix.

wewei commented 6 years ago

@mafintosh , thanks for developing tar-fs, it's a great utility package. We need to use the package with custom fs, this is a blocking issue. If the simple fix looks fine, would you help to publish a new patch?

Thanks a lot.

mafintosh commented 6 years ago

Awesome. 1.16.3