aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/html.ex
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2020-01-14 16:26:56 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2020-01-14 21:29:14 +0300
commitc9f45edeac2cc3ed262bb4b30dc7e1120c6fa047 (patch)
tree3ba35681409d9c5dd9ca4d355ff39d4dd67448d4 /lib/pleroma/html.ex
parent969769730e0b7578ddc6a5cd02f9b24eff5902a0 (diff)
parent12b28c8925c2c55e0d7bb66ff3320532a1aade3b (diff)
downloadpleroma-c9f45edeac2cc3ed262bb4b30dc7e1120c6fa047.tar.gz
Merge branch 'develop' into feature/tag_feed
Diffstat (limited to 'lib/pleroma/html.ex')
-rw-r--r--lib/pleroma/html.ex4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/pleroma/html.ex b/lib/pleroma/html.ex
index 2cae29f35..11513106e 100644
--- a/lib/pleroma/html.ex
+++ b/lib/pleroma/html.ex
@@ -10,9 +10,7 @@ defmodule Pleroma.HTML do
dir = Path.join(:code.priv_dir(:pleroma), "scrubbers")
dir
- |> File.ls!()
- |> Enum.map(&Path.join(dir, &1))
- |> Kernel.ParallelCompiler.compile()
+ |> Pleroma.Utils.compile_dir()
|> case do
{:error, _errors, _warnings} ->
raise "Compiling scrubbers failed"