mirror of
https://github.com/LukeHagar/VA-Log-Parser.git
synced 2025-12-06 12:57:45 +00:00
Update parseLogFile.js
This commit is contained in:
@@ -15,11 +15,6 @@ function getLogLines(LogFile) {
|
||||
return fileLines;
|
||||
}
|
||||
|
||||
function checkDirectory(path) {
|
||||
const stats = fs.statSync(path);
|
||||
return stats.isDirectory();
|
||||
}
|
||||
|
||||
function saveParsedFile(filePath, data) {
|
||||
const outputString = JSON.stringify(data);
|
||||
fs.writeFileSync(filePath, outputString);
|
||||
|
||||
Reference in New Issue
Block a user