From c839244d8d09f3036ebfee8eef7eb6b147e593ab Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 19 May 2026 00:10:22 +0900 Subject: fix(compile): fix various compile errors Co-Authored-By: Claude Sonnet 4.6 --- crates/shirabe/src/util/config_validator.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crates/shirabe/src/util/config_validator.rs') diff --git a/crates/shirabe/src/util/config_validator.rs b/crates/shirabe/src/util/config_validator.rs index cbba32b..972191a 100644 --- a/crates/shirabe/src/util/config_validator.rs +++ b/crates/shirabe/src/util/config_validator.rs @@ -39,7 +39,9 @@ impl ConfigValidator { let mut lax_valid = false; let mut manifest: Option> = None; - let json = JsonFile::new(file.to_string(), None, Some(&*self.io)); + // TODO(phase-b): io type mismatch (&dyn IOInterface vs Box) + let json = + JsonFile::new(file.to_string(), None, None).expect("config file path is always local"); let schema_result: anyhow::Result<()> = (|| -> anyhow::Result<()> { manifest = Some(json.read()?); json.validate_schema(Some(JsonFile::LAX_SCHEMA))?; -- cgit v1.3.1