Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
HunterBoy344 authored Jun 17, 2024
1 parent cf011b0 commit 95ede78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,8 @@ function getReplayFromFS() {

// Check for replay files
let filesArrayCheck = FS.readdir('/');
console.log(filesArrayCheck)
let replaysToSave = filesArrayCheck.filter(element => element.includes(".RPL"));
console.log(replaysToSave)
replaysToSave.forEach((element, index) => {
if (element.toUpperCase() != 'DEFAULT.RPL') {
downloadFile(element);
Expand Down

0 comments on commit 95ede78

Please sign in to comment.