Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
quazardous committed Jan 10, 2017
1 parent d38a7ea commit 7f11afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/readify.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const readdir = promisify(fs.readdir, fs);
const sortFiles = currify((attr, order, array) => {
const cmpCallbacks = {
'numeric': (a, b) => (+a - +b),
'local_string': (a, b) => a.localeCompare(b.attr),
'local_string': (a, b) => a.localeCompare(b),
'default': (a, b) => (a > b ? 1 : -1),
};
switch (order) {
Expand Down

0 comments on commit 7f11afd

Please sign in to comment.