fix util
This commit is contained in:
parent
bac6261f5e
commit
5eaeae785b
@ -112,7 +112,7 @@ function getValue(lines, property, separator, trimmed) {
|
||||
if (trimmed) {
|
||||
line = line.trim();
|
||||
}
|
||||
if (line.match(property + separator)) {
|
||||
if (line.startsWith(property) && line.match(property + separator)) {
|
||||
const parts = trimmed ? lines[i].trim().split(separator) : lines[i].split(separator);
|
||||
if (parts.length >= 2) {
|
||||
parts.shift();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user