aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs.go b/fs.go
index b76f182..2ee1e37 100644
--- a/fs.go
+++ b/fs.go
@@ -135,6 +135,10 @@ func collectFromDir(
continue
}
+ if path.Ext(nm) != ".toml" {
+ continue
+ }
+
// Decode a unit
config, err := DecodeRubricConfig(child, cfgs)