Skip to content

Commit

Permalink
fix bug in example, changed mtimeMS to mtimeMs
Browse files Browse the repository at this point in the history
PR-URL: #546
Credit: @fALKENdk
Close: #546
Reviewed-by: @isaacs
  • Loading branch information
fALKENdk authored and isaacs committed Sep 23, 2023
1 parent d15c680 commit 7eca1f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ g3.stream().on('data', path => {
const results = await glob('**', { stat: true, withFileTypes: true })

const timeSortedFiles = results
.sort((a, b) => a.mtimeMS - b.mtimeMS)
.sort((a, b) => a.mtimeMs - b.mtimeMs)
.map(path => path.fullpath())

const groupReadableFiles = results
Expand Down

0 comments on commit 7eca1f9

Please sign in to comment.