From 2c3627f5cc5d3d429548f13305b8956e01c95037 Mon Sep 17 00:00:00 2001 From: Colton Clemmer Date: Tue, 7 Mar 2023 12:55:58 -0600 Subject: [PATCH] change from not . null to notNull --- cabal-install/src/Distribution/Client/ProjectBuilding.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cabal-install/src/Distribution/Client/ProjectBuilding.hs b/cabal-install/src/Distribution/Client/ProjectBuilding.hs index 8a60718ede0..bccbdcd646f 100644 --- a/cabal-install/src/Distribution/Client/ProjectBuilding.hs +++ b/cabal-install/src/Distribution/Client/ProjectBuilding.hs @@ -586,7 +586,7 @@ rebuildTargets verbosity buildSettingNumJobs, buildSettingKeepGoing } - | fromFlagOrDefault False (projectConfigOfflineMode config) && not (null packagesToDownload) = return offlineError + | fromFlagOrDefault False (projectConfigOfflineMode config) && notNull packagesToDownload = return offlineError | otherwise = do -- Concurrency control: create the job controller and concurrency limits -- for downloading, building and installing.