Skip to content

Commit 7b61d7b

Browse files
carlthomesandydoo
andauthored
Update modules/hooks.nix
Co-authored-by: sander <hey@sandydoo.me>
1 parent c13a5aa commit 7b61d7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/hooks.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3941,7 +3941,7 @@ lib.escapeShellArgs (lib.concatMap (ext: [ "--ghc-opt" "-X${ext}" ]) hooks.fourm
39413941
description = "Validate Prometheus recording and alerting rules.";
39423942
package = tools.prometheus;
39433943
entry = "${hooks.promtool-rules.package}/bin/promtool check rules";
3944-
files = "\\.ya?ml$";
3944+
types = [ "yaml" ];
39453945
};
39463946
psalm =
39473947
{

0 commit comments

Comments
 (0)