Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Oct 13, 2023
1 parent dd57092 commit 3dbc413
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion crates/turbopack-css/src/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ async fn parse_content(
};

let mut errors = Vec::new();
let mut parsed_stylesheet = match parse_file::<Stylesheet>(&fm, config, &mut errors) {
let mut parsed_stylesheet = match parse_file::<Stylesheet>(&fm, None, config, &mut errors) {
Ok(stylesheet) => stylesheet,
Err(e) => {
// TODO report in in a stream
Expand Down
6 changes: 0 additions & 6 deletions crates/turbopack-ecmascript/src/analyzer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -449,12 +449,6 @@ impl From<&'_ str> for JsValue {
}
}

impl From<JsWord> for JsValue {
fn from(v: JsWord) -> Self {
ConstantValue::Str(ConstantString::Word(v)).into()
}
}

impl From<Atom> for JsValue {
fn from(v: Atom) -> Self {
ConstantValue::Str(ConstantString::Atom(v)).into()
Expand Down

0 comments on commit 3dbc413

Please sign in to comment.