fix code commentary 🐛

This commit is contained in:
Julius Tens 2018-03-18 13:00:16 +01:00
parent cee3a78d8e
commit 269a2524fb

View file

@ -30,7 +30,7 @@ const parseLocation = (profile, l, lines) => {
res.lines = res.lines.filter(x => x.id && x.name)
}
// remove trailing zeroes, todo
// remove leading zeroes, todo
if (res.id && res.id.length > 0) {
res.id = res.id.replace(/^0+/, '')
}