[Pkg-erlang-devel] [check-all-the-things] 02/02: Fix erl-tidy command line

Paul Wise pabs at debian.org
Sun Apr 30 22:40:52 UTC 2017


On Sun, 2017-04-30 at 15:43 +0200, Jakub Wilk wrote:

> > +command = erl -noshell -eval 'erl_tidy:dir(".", [{{test, true}}, {{verbose, false}}]).' -s init stop
> 
> While this does work for syntactically correct Erlang files, when I run it 
> against an empty file, it prints an error message, and then hangs forever. 
> Unfortunately, my Erlang fu is too weak to debug this. :/

Erlang folks: any idea how to avoid the hang when using erl_tidy
against directories containing empty files?

-- 
bye,
pabs

https://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-erlang-devel/attachments/20170501/f618f255/attachment.sig>


More information about the Pkg-erlang-devel mailing list