hl 10 mesiacov pred
rodič
commit
f173a6a495
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      src/utils/file.js

+ 1 - 1
src/utils/file.js

@@ -239,7 +239,7 @@ async function readLinesFromEnd(filePath, maxLines) {
         }
     }
 
-    return lines;
+    return lines.reverse();
 }
 
 async function readLines(filePath, maxLines) {