aboutsummaryrefslogtreecommitdiffstats
path: root/lib/syntax_tools/src/erl_tidy.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-07-07 08:19:42 +0200
committerHans Bolinder <[email protected]>2016-07-07 08:19:42 +0200
commit62ef9f77d94563a03b8f1f5f1e8843f022329393 (patch)
tree7f6996011c04e6687602a3b7adb1203e6673e630 /lib/syntax_tools/src/erl_tidy.erl
parent3b409021a70427bb2fe3834707edf822b6afce2d (diff)
parent0969ecad9e2978bacb7b27f663cd16aa5ea6c460 (diff)
downloadotp-62ef9f77d94563a03b8f1f5f1e8843f022329393.tar.gz
otp-62ef9f77d94563a03b8f1f5f1e8843f022329393.tar.bz2
otp-62ef9f77d94563a03b8f1f5f1e8843f022329393.zip
Merge branch 'mbucc/syntax_tools/fix_erl_tidy_tilde/ERL-151/PR-1071/OTP-13725' into maint
* mbucc/syntax_tools/fix_erl_tidy_tilde/ERL-151/PR-1071/OTP-13725: syntax_tools: Make erl_tidy work on input file with tilde
Diffstat (limited to 'lib/syntax_tools/src/erl_tidy.erl')
-rw-r--r--lib/syntax_tools/src/erl_tidy.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/syntax_tools/src/erl_tidy.erl b/lib/syntax_tools/src/erl_tidy.erl
index f2de12b410..3a37ca43bd 100644
--- a/lib/syntax_tools/src/erl_tidy.erl
+++ b/lib/syntax_tools/src/erl_tidy.erl
@@ -414,7 +414,7 @@ write_module(Tree, Name, Opts) ->
print_module(Tree, Opts) ->
Printer = proplists:get_value(printer, Opts),
- io:format(Printer(Tree, Opts)).
+ io:put_chars(Printer(Tree, Opts)).
output(FD, Printer, Tree, Opts) ->
io:put_chars(FD, Printer(Tree, Opts)),