You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0919b06
Browse filesBrowse the repository at this point in the historyBrowse files
- Add tests for error handling edge cases
- Cover console.clear fallback scenarios
- Test non-FileReadError and non-MdTailError paths
- Add tests for process.stdout.rows fallback
- Increase total tests from 107 to 111
- All files now at 100% coverage
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
'Only .md files are supported. Rename your file with .md extension'
36
+
);
37
+
this.filePath=filePath;
38
+
}
39
+
}
40
+
41
+
classNoFilesFoundErrorextendsMdTailError{
42
+
constructor(){
43
+
super(
44
+
'No markdown files found to watch',
45
+
'Try:\n • mdtail README.md - to watch a specific file\n • mdtail *.md - to watch all markdown files\n • Create a TODO.md file in the current directory'
46
+
);
47
+
}
48
+
}
49
+
50
+
classTerminalErrorextendsMdTailError{
51
+
constructor(feature){
52
+
super(
53
+
`Terminal feature not available: ${feature}`,
54
+
'Try running in a different terminal emulator'
55
+
);
56
+
this.feature=feature;
57
+
}
58
+
}
59
+
60
+
classDirectoryReadErrorextendsMdTailError{
61
+
constructor(directory,originalError){
62
+
super(
63
+
`Unable to read directory: ${directory}`,
64
+
`Check permissions for the directory. Error: ${originalError.message}`
0 commit comments