Done.


On Tue, Apr 1, 2014 at 10:21 AM, Yuji Nakayama <notifications@github.com>wrote:

> In lib/linter/clang.coffee:
>
> > +
> > +    runner.run (error, result) ->
> > +      return callback(error) if error?
> > +
> > +      if result.exitCode == 0 || result.exitCode == 1
> > +
> > +        pattern = ///
> > +          ^(.+):(\d+):(\d+):\s*  # file / line / col
> > +          ([\s|[a-zA-Z]*):\s*
> > +          ([^]+)
> > +        ///
> > +
> > +        violations = []
> > +        items = result.stderr.split '\n'
> > +        for item in items[...-1]
> > +          matches = item.match(pattern)[1..5]
>
> The [1..5] needs to be removed. This code does not help us avoid crash.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/yujinakayama/atom-lint/pull/40/files#r11165018>
> .
>