Format code with prettier

This commit fixes the style issues introduced in 09e77f6 according to the output
from prettier.

Details: https://deepsource.io/gh/MillenniumEarl/F95API/transform/e2fd9379-502b-475d-aadb-687ced2e6f65/
pull/26/head
deepsource-autofix[bot] 2020-10-16 07:27:28 +00:00 committed by GitHub
parent 09e77f6804
commit 7084a2e806
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);