Skip to content

Commit 30c173b

Browse files
committed
Update
1 parent 7f232c5 commit 30c173b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/parser/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mxmlextrema-as3parser"
3-
version = "1.5.0"
3+
version = "1.5.1"
44
edition = "2021"
55
authors = ["Matheus Dias de Souza <[email protected]>"]
66
repository = "https://github.com/mxmlextrema/as3parser"

crates/parser/parser/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3692,7 +3692,7 @@ impl<'input> Parser<'input> {
36923692
} else {
36933693
// Read included content
36943694

3695-
let sub_file_path_pathbuf = sub_flex_file_path.to_path_buf().canonicalize().unwrap();
3695+
let sub_file_path_pathbuf = sub_flex_file_path.to_path_buf().canonicalize().unwrap_or(PathBuf::new());
36963696
let mut replaced = false;
36973697

36983698
for (replace_file_path, content) in self.replace_included_content.read().unwrap().iter() {

0 commit comments

Comments
 (0)