Skip to content

Commit

Permalink
Restore error order
Browse files Browse the repository at this point in the history
  • Loading branch information
fsoikin committed Aug 30, 2024
1 parent 94f8fd4 commit 965fe6c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Spago/Command/Init.purs
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,14 @@ run opts = do
-- Use the specified version of the package set (if specified).
-- Otherwise, get the latest version of the package set for the given compiler
packageSetVersion <- Registry.findPackageSet opts.setVersion
{ purs } <- ask
logInfo $ "Found PureScript " <> Version.print purs.version <> ", will use package set " <> Version.print packageSetVersion

packageName <- getPackageName
withWorkspace <- getWithWorkspace packageSetVersion
projectDir <- getProjectDir packageName

{ purs } <- ask
logInfo $ "Found PureScript " <> Version.print purs.version <> ", will use package set " <> Version.print packageSetVersion

let
mainModuleName = "Main"
testModuleName = "Test.Main"
Expand Down

0 comments on commit 965fe6c

Please sign in to comment.