brittany crashes if ~/.config does not exist #115

Closed
opened 2018-01-19 12:09:36 +01:00 by stepchowfun · 0 comments
stepchowfun commented 2018-01-19 12:09:36 +01:00 (Migrated from github.com)

I noticed this when running brittany inside a Docker container which didn't have a ~/.config directory. I would get this error:

brittany: /home/user/.config/brittany: createDirectory: does not exist (No such file or directory)

I believe it's because of this line: 37bc36f10a/src-brittany/Main.hs (L349)

Perhaps we should just change False to True?

cc @esdrw

I noticed this when running brittany inside a Docker container which didn't have a `~/.config` directory. I would get this error: ``` brittany: /home/user/.config/brittany: createDirectory: does not exist (No such file or directory) ``` I believe it's because of this line: https://github.com/lspitzner/brittany/blob/37bc36f10a8924552bb666104bc92f07fc58732a/src-brittany/Main.hs#L349 Perhaps we should just change `False` to `True`? cc @esdrw
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hexagoxel/brittany#115
There is no content yet.