summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLFileManager.m
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink/SDLFileManager.m')
-rw-r--r--SmartDeviceLink/SDLFileManager.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLFileManager.m b/SmartDeviceLink/SDLFileManager.m
index f37dadd58..b12b6c9eb 100644
--- a/SmartDeviceLink/SDLFileManager.m
+++ b/SmartDeviceLink/SDLFileManager.m
@@ -445,13 +445,13 @@ SDLFileManagerState *const SDLFileManagerStateStartupError = @"StartupError";
if (![self isErrorACannotOverwriteError:[error.userInfo objectForKey:erroredArtworkName]]) {
[successfulArtworkUploadNames removeObject:erroredArtworkName];
} else {
- // An overwrite error means that the artwork is alread uploaded to the remote
+ // An overwrite error means that the artwork is already uploaded to the remote
[unsuccessfulArtworkUploadErrorUserInfo removeObjectForKey:erroredArtworkName];
}
}
}
- return completion(successfulArtworkUploadNames == nil || successfulArtworkUploadNames.count == 0 ? [NSArray array] : [NSArray arrayWithArray:[successfulArtworkUploadNames allObjects]], unsuccessfulArtworkUploadErrorUserInfo == nil || unsuccessfulArtworkUploadErrorUserInfo.count == 0 ? nil : [[NSError alloc] initWithDomain:error.domain code:error.code userInfo:unsuccessfulArtworkUploadErrorUserInfo]);
+ return completion([NSArray arrayWithArray:[successfulArtworkUploadNames allObjects]], unsuccessfulArtworkUploadErrorUserInfo == nil || unsuccessfulArtworkUploadErrorUserInfo.count == 0 ? nil : [[NSError alloc] initWithDomain:error.domain code:error.code userInfo:unsuccessfulArtworkUploadErrorUserInfo]);
}];
}