mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-12 23:02:41 +00:00
Make stdin_source validation message handler-neutral
CommandHandler also serves type="tool" nodes, so the runtime message now says "Node '...'" to match the stdin_source_valid lint wording. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
0eda219376
commit
cd6a614ed7
1 changed files with 1 additions and 1 deletions
|
|
@ -233,7 +233,7 @@ fn validated_stdin_source(node: &Node) -> Result<Option<&str>, String> {
|
|||
match node.context_key_attr("stdin_source") {
|
||||
ContextKeyAttr::Absent => Ok(None),
|
||||
ContextKeyAttr::Invalid => Err(format!(
|
||||
"Command node '{}' requires 'stdin_source' to be a non-empty string",
|
||||
"Node '{}' requires 'stdin_source' to be a non-empty string",
|
||||
node.id
|
||||
)),
|
||||
ContextKeyAttr::Present(source) => Ok(Some(source)),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue