diff --git a/crates/turbopack-css/src/parse.rs b/crates/turbopack-css/src/parse.rs index 38f46071524654..e1e84002066c0d 100644 --- a/crates/turbopack-css/src/parse.rs +++ b/crates/turbopack-css/src/parse.rs @@ -189,12 +189,11 @@ async fn parse_content( ..Default::default() }; - let mut errors = Vec::new(); - let mut parsed_stylesheet = match StyleSheet::parse(&fm, config) { + let mut parsed_stylesheet = match StyleSheet::parse(&string, config) { Ok(stylesheet) => stylesheet, Err(e) => { - // TODO report in in a stream - e.to_diagnostics(&handler).emit(); + // TODO(kdy1): Report errors + // e.to_diagnostics(&handler).emit(); return Ok(ParseCssResult::Unparseable.into()); } };