Skip to content

Commit bd36e51

Browse files
author
Mahdi Dibaiee
committed
(theam#101) fix: create project if directory does not exist
1 parent 81238e9 commit bd36e51

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)