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 d76a815 commit 3e9b1d1Copy full SHA for 3e9b1d1
crates/chat-cli/src/cli/chat/prompt_args.rs
@@ -52,7 +52,7 @@ pub fn validate_placeholders(content: &str) -> Result<Vec<u8>, ArgumentError> {
52
// Parse position number
53
let position: u8 = position_str
54
.parse()
55
- .map_err(|_| ArgumentError::InvalidPlaceholder(full_match.to_string()))?;
+ .map_err(|_err| ArgumentError::InvalidPlaceholder(full_match.to_string()))?;
56
57
// Validate position is in range 1-10
58
if position == 0 || position > MAX_ARGUMENT_POSITION {
0 commit comments