Skip to content

Commit 28c5b40

Browse files
committed
style: the dyndep module map's statement is indented under its condition
1 parent f51cf61 commit 28c5b40

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/build/ninja_backend.cppm‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2779,8 +2779,8 @@ std::string emit_ninja_string(const BuildPlan& plan, std::string* placements,
27792779
append(" bind = --split-module\n");
27802780
if (auto at = ddiScope.find(ddi); at != ddiScope.end())
27812781
if (auto sc = plan.moduleScopes.find(at->second); sc != plan.moduleScopes.end())
2782-
append(std::format(" module_map = --module-map {}\n",
2783-
escape_ninja_path(sc->second.mapFile)));
2782+
append(std::format(" module_map = --module-map {}\n",
2783+
escape_ninja_path(sc->second.mapFile)));
27842784
if (auto it = ddi_expect.find(ddi); it != ddi_expect.end())
27852785
append(std::format(" expect = {}\n", it->second));
27862786
}

0 commit comments

Comments
 (0)