diff options
| author | Paul Buetow <paul@buetow.org> | 2025-01-08 23:47:08 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-01-08 23:47:08 +0200 |
| commit | f5880492c45c6b6c9a9bc5b755e41184c6f4dabb (patch) | |
| tree | 6c34fb61eea14835187ee8eb3a2c45976b2e3dac | |
| parent | d87be863dfb5e984b0351d0e5dbd8ab7c981c5aa (diff) | |
ignore empty stats files
| -rw-r--r-- | guprecords.raku | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/guprecords.raku b/guprecords.raku index 0f4df34..65e2650 100644 --- a/guprecords.raku +++ b/guprecords.raku @@ -82,6 +82,7 @@ class Aggregator { } method !add-file(IO::Path:D $file) { + return if $file.s == 0; my $host = $file.IO.basename.split('.').first; die "Record file for $host already processed - duplicate inputs?" |
