diff options
author | Loïc Hoguin <[email protected]> | 2018-06-12 07:45:18 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-06-12 07:45:18 +0200 |
commit | ff3a48cd25a671f456614e79f1c05d77f4ca08ff (patch) | |
tree | 7b5e181462822c50373255527dfee467aa30d3f5 /src | |
parent | 112f38e3c7ba6cb5f8aa2ed4c7601ba098e68627 (diff) | |
download | asciideck-ff3a48cd25a671f456614e79f1c05d77f4ca08ff.tar.gz asciideck-ff3a48cd25a671f456614e79f1c05d77f4ca08ff.tar.bz2 asciideck-ff3a48cd25a671f456614e79f1c05d77f4ca08ff.zip |
Fix a Dialyzer warning
Diffstat (limited to 'src')
-rw-r--r-- | src/asciideck_source_highlight.erl | 2 |
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). |