Skip to content

Commit b3c0de0

Browse files
committed
fix: suppress dead_code warning for has_credentials method
Method is used in tests but flagged as dead code. Added #[allow(dead_code)] attribute.
1 parent c4dc5b4 commit b3c0de0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/mcp/executors/git.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ impl GitExecutor {
360360
}
361361

362362
/// Check if executor has credentials configured
363+
#[allow(dead_code)]
363364
fn has_credentials(&self) -> bool {
364365
self.username.is_some()
365366
|| self.password.is_some()

0 commit comments

Comments
 (0)