refactor: sortFiles -> toSortedArray

This commit is contained in:
Oliver Eyton-Williams
2020-07-08 16:23:09 +02:00
committed by Mrugesh Mohapatra
parent 1ee5e24d0f
commit 52cb6adf02
4 changed files with 10 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
exports.sortFiles = function sortFiles(challengeFiles) {
exports.toSortedArray = function toSortedArray(challengeFiles) {
const xs = Object.values(challengeFiles);
// TODO: refactor this to use an ext array ['html', 'js', 'css'] and loop over
// that.