Skip to content

Commit

Permalink
Merge pull request #118 from mdibaiee/project-path-fix
Browse files Browse the repository at this point in the history
(101) fix: create project if directory does not exist
  • Loading branch information
Nikita Tchayka authored Aug 16, 2017
2 parents 81238e9 + bd36e51 commit 7a31007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/HaskellDo/Toolbar/State.hs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ update (NewPath newPath) state = do
isProject <- atRemote $ localIO $ doesFileExist (path </> "package.yaml")
updateProjectAvailability newState' path isProject
else do
let newState' = newState { directoryList = ([], []) }
let newState' = newState { directoryList = ([], []), createProject = True }
return newState'
where
pathOrLastOrHome path = if null path
Expand Down

0 comments on commit 7a31007

Please sign in to comment.