mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-09 10:53:34 +08:00
feat: surface ecc2 daemon activity
This commit is contained in:
@@ -1237,8 +1237,11 @@ mod tests {
|
||||
fn wait_for_file(path: &Path) -> Result<String> {
|
||||
for _ in 0..200 {
|
||||
if path.exists() {
|
||||
return fs::read_to_string(path)
|
||||
.with_context(|| format!("failed to read {}", path.display()));
|
||||
let content = fs::read_to_string(path)
|
||||
.with_context(|| format!("failed to read {}", path.display()))?;
|
||||
if content.lines().count() >= 2 {
|
||||
return Ok(content);
|
||||
}
|
||||
}
|
||||
|
||||
thread::sleep(StdDuration::from_millis(20));
|
||||
|
||||
Reference in New Issue
Block a user