Recursive mode includes non-coffee files at first level #62

Closed
jpadvo opened this Issue Sep 25, 2012 · 1 comment

Projects

None yet

2 participants

@jpadvo
jpadvo commented Sep 25, 2012

The issue shows up with a file structure like this:

./application.coffee
./application.sass
./random.js
./src/some_module.coffee
./styles/some_stylesheet.sass

Coffeelint will correctly not parse ./styles/some_stylesheet.sass, but it will attempt to parse ./application.sass and ./random.js. Right now I'm just using ack and xargs to make it work.

ack -g coffee$    | tr '\n' ' ' | xargs coffeelint

Thanks for an awesome tool. :)

@AsaAyers
Collaborator

This looks to me like it's been fixed. I added a console.log showing which scripts it found to parse and it's not picking up any of my top level non-coffee files.

Tested using:

cd /path/to/coffeelint
rake compile; bin/coffeelint -r ./
@AsaAyers AsaAyers closed this Nov 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment