Skip to content

Commit

Permalink
change from not . null to notNull
Browse files Browse the repository at this point in the history
  • Loading branch information
cbclemmer authored Mar 7, 2023
1 parent 644044a commit 2c3627f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cabal-install/src/Distribution/Client/ProjectBuilding.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2c3627f

Please sign in to comment.