Skip to content

Commit 67a2da5

Browse files
committed
Format esp32/tools/mkimage.erl code
Just run rebar3 fmt on it. Signed-off-by: Davide Bettio <davide@uninstall.it>
1 parent 8bcca51 commit 67a2da5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/platforms/esp32/tools/mkimage.erl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,13 @@ mkimage(RootDir, BuildDir, BootFile, OutputFile, Segments) ->
162162
end
163163
end,
164164
SegmentPaths = [
165-
replace("BUILD_DIR", BuildDir, replace("BOOT_FILE", BootFile, replace("ROOT_DIR", RootDir, SegmentPath)))
165+
replace(
166+
"BUILD_DIR",
167+
BuildDir,
168+
replace(
169+
"BOOT_FILE", BootFile, replace("ROOT_DIR", RootDir, SegmentPath)
170+
)
171+
)
166172
|| SegmentPath <- maps:get(path, Segment)
167173
],
168174
case try_read(SegmentPaths) of

0 commit comments

Comments
 (0)