Skip to content

Commit 3551c11

Browse files
author
Raoul Hess
committed
Fixed minor bugs
1 parent 359c352 commit 3551c11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/divapi_component.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ css(ComponentPath, Tag, Variables0) ->
8383
{css, ComponentPath, Tag, Variables1},
8484
fun () -> get_css(ComponentPath, Tag, Variables1, StylePaths) end,
8585
1000 * 60 * 60 * 5 % 5 hours
86-
),
86+
),
8787
{css, Files}
8888
end.
8989

@@ -110,7 +110,7 @@ get_css(ComponentPath, Tag, Variables, Paths) ->
110110
File
111111
end
112112
end,
113-
lists:map(GetFile, Paths).
113+
iolist_to_binary(lists:map(GetFile, Paths)).
114114

115115
dir(ComponentPath) ->
116116
{ok, RepoDir} = application:get_env(divapi, repo_dir),

0 commit comments

Comments
 (0)