Commit 4e11df7b authored by José Henrique's avatar José Henrique
Browse files

Update lint_json.rs

parent 6ea34e85
......@@ -106,7 +106,7 @@ fn test_integrity_team(json_iter: json::JsonValue) -> String {
fn main() {
let data = fs::read_to_string("official_devices/devices.json").expect("Unable to read file");
println!("Running Integrity Tests on devices.json.....");
println!("Running Integrity Tests on official_devices/devices.json.....");
fs::write("/tmp/current_file", "devices.json").expect("Unable to write file");
let parsed = json::parse(&data).unwrap_or_else(|error| {
println!("\tError parsing JSON: {}", error);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment