Merge pull request #26 from MillenniumEarl/deepsource-transform-0ffbf669

Format code with prettier
pull/27/head
Millennium Earl 2020-10-16 09:28:59 +02:00 committed by GitHub
commit 08bcad559f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -398,7 +398,8 @@ function extractGameHostingData(platform, text) {
// Find the end of the container
if (endIndex === -1)
endIndex = text.indexOf(CONTAINER_SPAN_CLOSE, startIndex) +
endIndex =
text.indexOf(CONTAINER_SPAN_CLOSE, startIndex) +
CONTAINER_SPAN_CLOSE.length;
text = text.substring(startIndex, endIndex);