Skip to content

Commit

Permalink
Update removeOldLogs.js
Browse files Browse the repository at this point in the history
  • Loading branch information
NullDev committed Jun 1, 2023
1 parent 2b17956 commit efb687a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crons/removeOldLogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Log from "../util/log.js";
* @return {Number | null}
*/
const getDateFromFilename = function(filename){
// Format: roleshop-DD-MM-YYYY-output.log and roleshop-DD-MM-YYYY-errors.log
// Format: PROJECTNAME-DD-MM-YYYY-output.log and PROJECTNAME-DD-MM-YYYY-errors.log
const regex = /(\d{2})-(\d{2})-(\d{4})/;
const match = filename.match(regex);

Expand Down

0 comments on commit efb687a

Please sign in to comment.