Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempted fix for issue #190 #191

Merged
merged 1 commit into from Jan 20, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion Slate/NSFileManager+ApplicationSupport.m
Expand Up @@ -44,7 +44,7 @@ - (NSURL *)findOrCreateDirectory:(NSSearchPathDirectory)searchPathDirectory inDo
if (major >= 10 && minor >= 7) { if (major >= 10 && minor >= 7) {
success = [self createDirectoryAtURL:url withIntermediateDirectories:YES attributes:nil error:&error]; success = [self createDirectoryAtURL:url withIntermediateDirectories:YES attributes:nil error:&error];
} else { } else {
success = [self createDirectoryAtPath:[url absoluteString] withIntermediateDirectories:YES attributes:nil error:&error]; success = [self createDirectoryAtPath:[url path] withIntermediateDirectories:YES attributes:nil error:&error];
} }
if (!success) { if (!success) {
if (errorOut) *errorOut = error; if (errorOut) *errorOut = error;
Expand Down