mirror of
https://github.com/nushell/nushell.git
synced 2025-07-02 23:51:49 +02:00
Preserve order when serializing/deserialize json by default. (#3126)
This commit is contained in:
committed by
GitHub
parent
9c375b33a6
commit
0b71e45072
@ -256,6 +256,10 @@ pub fn fixtures() -> PathBuf {
|
||||
root().join("tests/fixtures")
|
||||
}
|
||||
|
||||
pub fn assets() -> PathBuf {
|
||||
root().join("tests/assets")
|
||||
}
|
||||
|
||||
pub fn in_directory(str: impl AsRef<Path>) -> String {
|
||||
let path = str.as_ref();
|
||||
let path = if path.is_relative() {
|
||||
|
Reference in New Issue
Block a user