aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-06-12 07:45:18 +0200
committerLoïc Hoguin <[email protected]>2018-06-12 07:45:18 +0200
commitff3a48cd25a671f456614e79f1c05d77f4ca08ff (patch)
tree7b5e181462822c50373255527dfee467aa30d3f5
parent112f38e3c7ba6cb5f8aa2ed4c7601ba098e68627 (diff)
downloadasciideck-ff3a48cd25a671f456614e79f1c05d77f4ca08ff.tar.gz
asciideck-ff3a48cd25a671f456614e79f1c05d77f4ca08ff.tar.bz2
asciideck-ff3a48cd25a671f456614e79f1c05d77f4ca08ff.zip
Fix a Dialyzer warning
-rw-r--r--src/asciideck_source_highlight.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asciideck_source_highlight.erl b/src/asciideck_source_highlight.erl
index 24c3054..b672784 100644
--- a/src/asciideck_source_highlight.erl
+++ b/src/asciideck_source_highlight.erl
@@ -23,5 +23,5 @@ filter(Input, #{2 := Lang}) ->
Output = os:cmd(io_lib:format(
"source-highlight -i ~s -s ~s",
[TmpFile, Lang])),
- file:delete(TmpFile),
+ _ = file:delete(TmpFile),
unicode:characters_to_binary(Output).