Fixed indentation.

This commit is contained in:
DebaucheryLibrarian
2021-02-21 22:58:46 +01:00
parent c0347eed50
commit b79e75349c
5 changed files with 15 additions and 10 deletions

View File

@@ -28,8 +28,8 @@ function scrapeProfile(html) {
if (bio.Measurements) {
const measurements = bio.Measurements
.match(/\d+(\w+)?-\d+-\d+/g)
?.slice(-1)[0] // allow for both '34C-25-36' and '86-64-94 cm / 34-25-37 in'
.split('-');
?.slice(-1)[0] // allow for both '34C-25-36' and '86-64-94 cm / 34-25-37 in'
.split('-');
// account for measuemrents being just e.g. '32EE'
if (measurements) {