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