We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ac900cb + 6ae463d commit e86a890Copy full SHA for e86a890
src/Terminal/Init.gren
@@ -239,6 +239,11 @@ generateGrenJson config projectPath deps =
239
in
240
Path.append (Path.fromPosixString "gren.json") projectPath
241
|> FileSystem.writeFile config.fsPermission (Bytes.fromString encodedOutline)
242
+ |> Task.andThen
243
+ (\_ ->
244
+ Path.append (Path.fromPosixString "src") projectPath
245
+ |> FileSystem.makeDirectory config.fsPermission { recursive = False }
246
+ )
247
|> Task.mapError FileSystemFailure
248
|> Task.map (\_ -> newOutline)
249
)
0 commit comments