We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e75c614 commit 31531cfCopy full SHA for 31531cf
src/main/groovy/bpipe/Sender.groovy
@@ -407,8 +407,10 @@ class Sender {
407
408
def prettyContent = content
409
410
- ctx.getResolvedInputs().each { inp ->
411
- prettyContent = prettyContent.replaceAll(inp.toString(), "${ansi().fgBrightMagenta()}$inp${ansi().fgDefault()}")
+ if(prettyContent instanceof String) {
+ ctx.getResolvedInputs().each { inp ->
412
+ prettyContent = prettyContent.replaceAll(inp.toString(), "${ansi().fgBrightMagenta()}$inp${ansi().fgDefault()}")
413
+ }
414
}
415
416
println "Would send: \n\n$prettyContent\n\nto channel $configName:\n"
0 commit comments