diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2021-09-06 18:08:50 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2021-09-06 18:08:50 -0500 |
| commit | c0288be34b6db18accf7e585c679764cf36f80c3 (patch) | |
| tree | 7cd2cac36f6351ab298d0643db45aedbd67949a2 | |
| parent | 1c21da8920e3f57f0ba8ec8543ddd2d804a259da (diff) | |
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) |
