davsclaus commented on code in PR #27633:
URL: https://github.com/apache/camel/pull/27633#discussion_r4234690182
##########
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ai/AuthoringTools.java:
##########
@@ -1027,9 +1140,50 @@ public static JsonObject writeFile(ToolContext ctx, Path
dir, String file, Strin
result.put("message", "An integration running the file in dev mode
reloads it now; otherwise restart the"
+ " integration for the change to take
effect.");
}
+ if (waiting != null) {
+ result.put("message", result.getString("message") + " Note: " +
waiting.substring(0, waiting.indexOf(" ("))
+ + " (see notes).");
Review Comment:
Fixed in b15634d76f94: unconsumedDirect returns the summary and the whole
note as a record, so the message no longer cuts the note's text.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]