fix(eas): avoid doing bogus truncation

This commit is contained in:
Ludovic Marcotte committed 2020-05-14 15:46:55 -04:00
1 parent b53d1254d9
commit 96986280ee
1 file changed
+2 -1
+2 -1
View File
@@ -772,7 +772,8 @@ struct GlobalObjectId {
}
}
return [theContent substringToIndex: i];
if (i >= 0)
return [theContent substringToIndex: i];
}
*wasTruncated = 0;