This now has to be non-nil.
authorjoshaber <joshaber@gmail.com>
Tue, 6 Oct 2015 20:15:03 +0000 (16:15 -0400)
committerjoshaber <joshaber@gmail.com>
Tue, 6 Oct 2015 20:15:03 +0000 (16:15 -0400)
atom/common/platform_util_mac.mm

index 1aa75ef..2f9e2b7 100644 (file)
@@ -20,7 +20,7 @@ void ShowItemInFolder(const base::FilePath& full_path) {
   DCHECK([NSThread isMainThread]);
   NSString* path_string = base::SysUTF8ToNSString(full_path.value());
   if (!path_string || ![[NSWorkspace sharedWorkspace] selectFile:path_string
-                                        inFileViewerRootedAtPath:nil])
+                                        inFileViewerRootedAtPath:@""])
     LOG(WARNING) << "NSWorkspace failed to select file " << full_path.value();
 }