-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: number is not a valid mtime value (#24)
* fix: number is not a valid mtime value See https://github.com/ipfs/js-ipfs-unixfs#create-an-unixfs-data-element - it should be `Date | object | array`. Ends up ignored https://github.com/ipfs/js-ipfs-unixfs/blob/master/src/index.js#L104-L106 * refactor: use stat.mtime, it is already a Date
- Loading branch information
Alan Shaw
authored
Feb 10, 2020
1 parent
e582304
commit bb2d841
Showing
2 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters