mirror of
https://github.com/Dahlgren/arma-server-web-admin.git
synced 2024-08-30 17:22:10 +00:00
@ -81,7 +81,7 @@ Logs.prototype.getLogFile = function (filename, callback) {
|
|||||||
callback(err);
|
callback(err);
|
||||||
} else {
|
} else {
|
||||||
var validLogs = files.filter(function (file) {
|
var validLogs = files.filter(function (file) {
|
||||||
return file.name === requestedFilename;
|
return file.name === filename;
|
||||||
});
|
});
|
||||||
|
|
||||||
if (validLogs.length > 0) {
|
if (validLogs.length > 0) {
|
||||||
|
Reference in New Issue
Block a user