From c14b3aa54f363de44ff6f8b837186d53ef1435f7 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Wed, 17 Jun 2020 08:27:11 -0700 Subject: [PATCH] sed -i s/whitelist/allowlist/g --- pre_commit_hooks/file_contents_sorter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pre_commit_hooks/file_contents_sorter.py b/pre_commit_hooks/file_contents_sorter.py index 983ba01..76dc4fa 100644 --- a/pre_commit_hooks/file_contents_sorter.py +++ b/pre_commit_hooks/file_contents_sorter.py @@ -2,7 +2,7 @@ A very simple pre-commit hook that, when passed one or more filenames as arguments, will sort the lines in those files. -An example use case for this: you have a deploy-whitelist.txt file +An example use case for this: you have a deploy-allowlist.txt file in a repo that contains a list of filenames that is used to specify files to be included in a docker container. This file has one filename per line. Various users are adding/removing lines from this file; using