chore: fix hlint
This commit is contained in:
parent
e5ba60d608
commit
afbd222c15
@ -253,7 +253,7 @@ getCShowR tid ssh csh = do
|
|||||||
showNewsFiles fs = and
|
showNewsFiles fs = and
|
||||||
[ not $ null fs
|
[ not $ null fs
|
||||||
, length fs <= 3
|
, length fs <= 3
|
||||||
, all (not . elem pathSeparator . view _2) fs
|
, all (notElem pathSeparator . view _2) fs
|
||||||
]
|
]
|
||||||
mayCreateNews <- hasWriteAccessTo $ CourseR tid ssh csh CNewsNewR
|
mayCreateNews <- hasWriteAccessTo $ CourseR tid ssh csh CNewsNewR
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user