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
parent
09e77f6804
commit
7084a2e806
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue