Skip to content

Commit

Permalink
regression
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed Aug 28, 2024
1 parent 6ddd405 commit 1629625
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 20 deletions.
3 changes: 3 additions & 0 deletions crates/biome_deserialize/src/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ use biome_json_parser::{parse_json, JsonParserOptions};
use biome_json_syntax::{AnyJsonValue, JsonMemberName, JsonRoot, T};
use biome_rowan::{AstNode, AstSeparatedList, TokenText};

#[cfg(feature = "serde")]
use crate::DeserializableTypes;

/// It attempts to parse and deserialize a source file in JSON. Diagnostics from the parse phase
/// are consumed and joined with the diagnostics emitted during the deserialization.
///
Expand Down
38 changes: 19 additions & 19 deletions crates/biome_fs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
[package]
authors.workspace = true
authors.workspace = true
categories.workspace = true
description = "A small wrapper around std::path::PathBuf contains additional information and convenient methods"
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
name = "biome_fs"
description = "A small wrapper around std::path::PathBuf contains additional information and convenient methods"
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
name = "biome_fs"
repository.workspace = true
version = "0.5.7"
version = "0.5.7"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
biome_diagnostics = { workspace = true }
crossbeam = { workspace = true }
directories = "5.0.1"
enumflags2 = { workspace = true, features = ["serde"] }
indexmap = { workspace = true }
oxc_resolver = { workspace = true }
parking_lot = { version = "0.12.3", features = ["arc_lock"] }
rayon = { workspace = true }
rustc-hash = { workspace = true }
schemars = { workspace = true, optional = true }
serde = { workspace = true }
tracing = { workspace = true }
crossbeam = { workspace = true }
directories = "5.0.1"
enumflags2 = { workspace = true, features = ["serde"] }
indexmap = { workspace = true }
oxc_resolver = { workspace = true }
parking_lot = { version = "0.12.3", features = ["arc_lock"] }
rayon = { workspace = true }
rustc-hash = { workspace = true }
schemars = { workspace = true, optional = true }
serde = { workspace = true }
tracing = { workspace = true }

[dev-dependencies]
serde_json = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/biome_fs/src/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ mod test {
let result = serde_json::from_str::<FileKinds>("[\"Config\"]");
assert!(result.is_ok());
let file_kinds = result.unwrap();
assert_eq!(file_kinds.contains(FileKind::Config), true);
assert!(file_kinds.contains(FileKind::Config));
}

#[test]
Expand Down

0 comments on commit 1629625

Please sign in to comment.