chore: fix hlint

This commit is contained in:
Gregor Kleen 2019-10-01 20:01:43 +02:00
parent e5ba60d608
commit afbd222c15

View File

@ -253,7 +253,7 @@ getCShowR tid ssh csh = do
showNewsFiles fs = and
[ not $ null fs
, length fs <= 3
, all (not . elem pathSeparator . view _2) fs
, all (notElem pathSeparator . view _2) fs
]
mayCreateNews <- hasWriteAccessTo $ CourseR tid ssh csh CNewsNewR