mirror of
https://github.com/instructkr/claude-code.git
synced 2026-05-28 16:36:45 +00:00
fix: make cc2 validator directory board error concise (#3179)
This commit is contained in:
@@ -49,6 +49,9 @@ def main() -> int:
|
|||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
print(f"error: board not found at {board_path}")
|
print(f"error: board not found at {board_path}")
|
||||||
return 1
|
return 1
|
||||||
|
except IsADirectoryError:
|
||||||
|
print(f"error: board path is a directory: {board_path}")
|
||||||
|
return 1
|
||||||
except json.JSONDecodeError as exc:
|
except json.JSONDecodeError as exc:
|
||||||
print(f"error: invalid board JSON at {board_path}: {exc}")
|
print(f"error: invalid board JSON at {board_path}: {exc}")
|
||||||
return 1
|
return 1
|
||||||
|
|||||||
Reference in New Issue
Block a user