-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
createDirectoryIfMissing
silently failing
In some cases, `createDirectoryIfMissing` would silently fail. For example the following invocation would fail to report via an exception that it couldn't create a folder: let testdir = "/tmp/sometestdir" writeFile testdir "" createDirectoryIfMissing False testdir A related issue was the failure to create a folder hierarchy due to lack of permissions, for instance createDirectoryIfMissing True "/foo" for a non-priviledged user would silently fail (i.e. no exception thrown), even though "/foo" was not created. Fixes #4 (see also #10 for discussion)
- Loading branch information
Showing
3 changed files
with
20 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters