Skip to content

Commit

Permalink
fix: YAML loading bug
Browse files Browse the repository at this point in the history
  • Loading branch information
PeyaPeyaPeyang committed Sep 15, 2024
1 parent 70f0527 commit 26b73f2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ private static Map<String, Object> injectTriggers(Map<Object, Object> map)
{
if (map.containsKey(true)) // "on" は true に変換される。
{
map.put(true, map.get("on"));
map.remove("on");
map.put("on", map.get(true));
map.remove(true);
}

return (Map<String, Object>) (Object) map;
Expand Down

0 comments on commit 26b73f2

Please sign in to comment.