fix
This commit is contained in:
parent
94cb037aa3
commit
7bcfa88e6b
1 changed files with 1 additions and 1 deletions
2
Init.hs
2
Init.hs
|
@ -87,7 +87,7 @@ gitPreCommitHookWrite = unlessBare $ do
|
|||
hook <- preCommitHook
|
||||
ifM (liftIO $ doesFileExist hook)
|
||||
( do
|
||||
content <- readFile hook
|
||||
content <- liftIO $ readFile hook
|
||||
when (content /= preCommitScript) $
|
||||
warning $ "pre-commit hook (" ++ hook ++ ") already exists, not configuring"
|
||||
, unlessM crippledFileSystem $
|
||||
|
|
Loading…
Add table
Reference in a new issue