diff options
author | Flu0r1ne <flur01ne@flu0r1ne.net> | 2021-09-06 18:08:50 -0500 |
---|---|---|
committer | Flu0r1ne <flur01ne@flu0r1ne.net> | 2021-09-06 18:53:33 -0500 |
commit | 82dcbb2a65a6a073a1809fcd202b540885df02d2 (patch) | |
tree | c5491ee5ffb642c6d3c6a64d9adadfbdd77ae72a | |
parent | 75805cd762dd552c3da5ca69a690b73ac6910e6b (diff) | |
download | planr-82dcbb2a65a6a073a1809fcd202b540885df02d2.tar.xz planr-82dcbb2a65a6a073a1809fcd202b540885df02d2.zip |
Ignore non-toml files
-rw-r--r-- | fs.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -135,6 +135,10 @@ func collectFromDir( continue } + if path.Ext(nm) != ".toml" { + continue + } + // Decode a unit config, err := DecodeRubricConfig(child, cfgs) |