fix: ci
This commit is contained in:
1 parent
cb3660bcd2
commit
f4571a9d63
69 files changed
+260
-255
No files matched your search
@@ -7,7 +7,7 @@ use quote::{format_ident, quote};
|
||||
/// Generates the `TokenStream` for the `WorldEvent` enum with `u16` discriminants.
|
||||
pub fn build() -> TokenStream {
|
||||
let events: BTreeMap<String, u16> =
|
||||
serde_json::from_str(&fs::read_to_string("../assets/world_event.json").unwrap())
|
||||
serde_json::from_str(&fs::read_to_string("../../assets/world_event.json").unwrap())
|
||||
.expect("Failed to parse world_event.json");
|
||||
let variants: Vec<TokenStream> = events
|
||||
.into_iter()
|
||||
|
||||
Reference in new issue
Block a user