Skip to content

Commit 7eca1f9

Browse files
fALKENdkisaacs
authored andcommitted
fix bug in example, changed mtimeMS to mtimeMs
PR-URL: #546 Credit: @fALKENdk Close: #546 Reviewed-by: @isaacs
1 parent d15c680 commit 7eca1f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ g3.stream().on('data', path => {
8989
const results = await glob('**', { stat: true, withFileTypes: true })
9090

9191
const timeSortedFiles = results
92-
.sort((a, b) => a.mtimeMS - b.mtimeMS)
92+
.sort((a, b) => a.mtimeMs - b.mtimeMs)
9393
.map(path => path.fullpath())
9494

9595
const groupReadableFiles = results

0 commit comments

Comments
 (0)