fix: ensure remote clawdis-mac path

This commit is contained in:
Peter Steinberger
2025-12-07 04:12:54 +01:00
parent 759ab54e59
commit faca83e1e8
4 changed files with 17 additions and 3 deletions

View File

@@ -29,4 +29,11 @@ import Testing
let command = VoiceWakeForwarder.renderedCommand(template: template, transcript: "ignored")
#expect(command == template)
}
@Test func commandPrefersCliInstallPaths() {
let command = VoiceWakeForwarder.commandWithCliPath("clawdis-mac status")
let prefix = "PATH=\(cliHelperSearchPaths.joined(separator: ":")):$PATH; "
#expect(command.hasPrefix(prefix))
#expect(command.contains("clawdis-mac status"))
}
}