Drop `strings.HasPrefix` when guarding `strings.TrimPrefix`.
There is no need to check as `TrimPrefix` does nothing if the prefix doesn't match (see https://pkg.go.dev/strings#TrimPrefix). Bug: 193425964 Test: m nothing Change-Id: Ieb82e72a471800e29eb6bb54308041a9ab4173e5
Loading
Please register or sign in to comment