Skip to content

Commit 035ce46

Browse files
fix: int was trimmed incorrectly
1 parent 161b78c commit 035ce46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/run.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ func getData(encryptedString string, dataToCollect string) string {
161161
if dataToCollect == "type:" {
162162
i = strings.TrimSuffix(i, "]")
163163
}
164-
return strings.Trim(i, dataToCollect)
164+
165+
return strings.TrimPrefix(i, dataToCollect)
165166
}
166167

167168
}

0 commit comments

Comments
 (0)