diff options
Diffstat (limited to 'utils/notes-util/Main.hs')
-rw-r--r-- | utils/notes-util/Main.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/notes-util/Main.hs b/utils/notes-util/Main.hs index d685001d1c..ceaf4f9b04 100644 --- a/utils/notes-util/Main.hs +++ b/utils/notes-util/Main.hs @@ -44,8 +44,11 @@ main = do files <- lines <$> readFile respFile return (parseMode mode, files) [mode] -> do + let excludeList = + [ "testsuite/tests/linters/notes.stdout" + , "utils/notes-util/test" ] files <- lines <$> readProcess "git" ["ls-tree", "--name-only", "-r", "HEAD"] "" - return (parseMode mode, files) + return (parseMode mode, filter (`notElem` excludeList) files) _ -> usage case mode of |