Skip to content

Commit 7a31007

Browse files
authored
Merge pull request #118 from mdibaiee/project-path-fix
(101) fix: create project if directory does not exist
2 parents 81238e9 + bd36e51 commit 7a31007

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/HaskellDo/Toolbar/State.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ update (NewPath newPath) state = do
8888
isProject <- atRemote $ localIO $ doesFileExist (path </> "package.yaml")
8989
updateProjectAvailability newState' path isProject
9090
else do
91-
let newState' = newState { directoryList = ([], []) }
91+
let newState' = newState { directoryList = ([], []), createProject = True }
9292
return newState'
9393
where
9494
pathOrLastOrHome path = if null path

0 commit comments

Comments
 (0)