Skip to content

Commit b8b2d3e

Browse files
fix(agent): cfg-gate new_unconfigured behind test+agent to fix dead_code error
1 parent b896dc6 commit b8b2d3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/mt-tauri/src/lastfm/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ impl LastFmClient {
2424
}
2525
}
2626

27-
#[cfg(test)]
27+
#[cfg(all(test, feature = "agent"))]
2828
pub(crate) fn new_unconfigured() -> Self {
2929
Self {
3030
config: ApiKeyConfig {

0 commit comments

Comments
 (0)