avoid warning on windows build
This commit is contained in:
parent
4034de2be6
commit
8a20f4ed24
1 changed files with 1 additions and 1 deletions
|
@ -58,6 +58,6 @@ myVal envvars extract = go envvars
|
|||
#ifndef mingw32_HOST_OS
|
||||
go [] = extract <$> (getUserEntryForID =<< getEffectiveUserID)
|
||||
#else
|
||||
go [] = error $ "environment not set: " ++ show envvars
|
||||
go [] = extract <$> error ("environment not set: " ++ show envvars)
|
||||
#endif
|
||||
go (v:vs) = maybe (go vs) return =<< getEnv v
|
||||
|
|
Loading…
Add table
Reference in a new issue