Fix windows build
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ fn main() {
|
||||
let args: Vec::<_> = std::env::args().collect();
|
||||
|
||||
let data =
|
||||
fs::read_to_string(&args[1]).expect("Unable to read input file");
|
||||
fs::read_to_string(Path::new(&args[1])).expect("Unable to read input file");
|
||||
let dbc = Dbc::try_from(data.as_str()).expect("Failed to parse dbc file");
|
||||
|
||||
let asc_path = Path::new(&args[2]);
|
||||
|
||||
Reference in New Issue
Block a user