aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/html.ex
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2020-01-02 13:03:33 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2020-01-02 13:03:33 +0300
commitbadd0a96eaa9ff8fca7d25eccd05e8428e132699 (patch)
tree0c6a441f993935525bc4a706e98c8e36e11e7b10 /lib/pleroma/html.ex
parentead2d18826cf446fd7da542c55b6601e9bfc001c (diff)
parentee0c40831efde5054f587ae0e371fffcad1396b7 (diff)
downloadpleroma-badd0a96eaa9ff8fca7d25eccd05e8428e132699.tar.gz
Merge remote-tracking branch 'remotes/origin/develop' into oauth-scopes-tweaks-and-tests
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"