(barr []byte, offset int)
| 444 | } |
| 445 | |
| 446 | func isTrailingCommaError(barr []byte, offset int) bool { |
| 447 | if offset >= len(barr) { |
| 448 | offset = offset - 1 |
| 449 | } |
| 450 | offset = goBackWS(barr, offset) |
| 451 | if barr[offset] == '}' { |
| 452 | offset = goBackWS(barr, offset) |
| 453 | if barr[offset] == ',' { |
| 454 | return true |
| 455 | } |
| 456 | } |
| 457 | return false |
| 458 | } |
| 459 | |
| 460 | func resolveEnvReplacements(m waveobj.MetaMapType) { |
| 461 | if m == nil { |
no test coverage detected