` removeSemicolons()` should not be applied to multiline strings in groovy
Aperta
- Lingua principale
- Java
- Stelle
- 5.6k
- Fork
- 559
- Merge medio
- 1g 13h
- PR unite (30g)
- 34
Descrizione
I have Groovy code like this:
```
'''
function (doc, meta) {
if (doc._class == "springdata.Doc") {
emit(meta.id, null);
}
}
'''.stripIndent()
```
and when I use `removeSemicolons()` with my spotless Gradle plugin it removes `;` for `emit(meta.id, null);`
That is not expected. Is that possible to fix?
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.