Skip to content

Commit

Permalink
refactor: improves KlipperScreen rolled logs filter
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Lamas <[email protected]>
  • Loading branch information
pedrolamas committed Aug 15, 2024
1 parent 48c158f commit e3ed531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/widgets/filesystem/FileSystem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ export default class FileSystem extends Mixins(StateMixin, FilesMixin, ServicesM
case 'rolled_log_files':
if (file.type === 'file' && (
file.filename.match(/\.\d{4}-\d{2}-\d{2}(_\d{2}-\d{2}-\d{2})?$/) ||
file.filename.match(/\.log\.\d+/)
file.filename.match(/\.log\.\d+$/)
)) {
return false
}
Expand Down

0 comments on commit e3ed531

Please sign in to comment.