(a, b)
| 127 | } |
| 128 | |
| 129 | function sortArray(a, b) { |
| 130 | const nameA = a[0].toUpperCase(); |
| 131 | const nameB = b[0].toUpperCase(); |
| 132 | if (nameA < nameB) { |
| 133 | return -1; |
| 134 | } |
| 135 | if (nameA > nameB) { |
| 136 | return 1; |
| 137 | } |
| 138 | |
| 139 | return 0; |
| 140 | } |
| 141 | |
| 142 | jsonFolder.forEach(fileName => { |
| 143 | if (fileName.endsWith(".json")) { |
nothing calls this directly
no outgoing calls
no test coverage detected