Skip to content

Commit 4c18c69

Browse files
committed
logging which file is baing parsed
1 parent 49529e7 commit 4c18c69

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.vehicle_profiles/validate.js

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ let errors = 0;
1313

1414
async function validate_profile(path){
1515
let file = await readFile(path, "utf-8");
16+
console.log("Parsing: " + path);
1617
let data = JSON.parse(file);
1718
let valid = validate(data);
1819
if(valid) return

vehicle_profiles/renault/Renault Zoe Ph2 (2020).json

-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
"unit": "kwh",
6767
"class": "battery"
6868
}
69-
]
7069
},
7170
{
7271
"pid": "22300D",

0 commit comments

Comments
 (0)