Skip to content
Snippets Groups Projects
Commit 85530718 authored by Ben Gamari's avatar Ben Gamari :turtle:
Browse files

Eliminate redundant import of getArgs

parent b4305a28
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ import Foreign
import Foreign.C.String
#endif
import System.Directory ( doesFileExist, findExecutable )
import System.Environment ( getProgName, getArgs )
import System.Environment ( getProgName )
import System.Exit ( ExitCode(..), exitWith )
import System.FilePath ( normalise, splitFileName, splitExtension )
import System.IO
......@@ -46,6 +46,8 @@ import System.FilePath ( takeDirectory, (</>) )
#endif
#if MIN_VERSION_base(4,12,0)
import GHC.ResponseFile ( getArgsWithResponseFiles )
#else
import GHC.Environment ( getArgs )
#endif
import Common
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment