-
Notifications
You must be signed in to change notification settings - Fork 150
csscss hanging/giving no output #91
Description
Hi,
I'm not completely sure if this is a bug, or if I'm not doing something correct.
OS: OSX Yosemite 10.10 (tried on OSX Mavericks 10.9.5)
Ruby Version: ruby 2.0.0p481
CSSCSS Version: 1.3.3
Installation steps:
- Install brew
- brew install gem
- gem install csscss
test.css:
body {
background-color: red;
}
body {
background-color: red;
}
Command:
csscss -v test.css
Expected: Some indication that body has a duplicate tag
Actuall: nothing
Also,
When I try this command:
csscss https://webassetimvu-a.akamaihd.net/asset/e78ffdf5a603e786/build/web3d/web3d-app.css
It just hangs.
It also hangs when I pull down the file and run it directly on that file.
When I kill the file, I get this call stack:
from /Library/Ruby/Gems/2.0.0/gems/csscss-1.3.3/lib/csscss/redundancy_analyzer.rb:100:in ==' from /Library/Ruby/Gems/2.0.0/gems/csscss-1.3.3/lib/csscss/redundancy_analyzer.rb:100:inblock (2 levels) in redundancies'
from /Library/Ruby/Gems/2.0.0/gems/csscss-1.3.3/lib/csscss/redundancy_analyzer.rb:99:in each' from /Library/Ruby/Gems/2.0.0/gems/csscss-1.3.3/lib/csscss/redundancy_analyzer.rb:99:inblock in redundancies'
from /Library/Ruby/Gems/2.0.0/gems/csscss-1.3.3/lib/csscss/redundancy_analyzer.rb:97:in each' from /Library/Ruby/Gems/2.0.0/gems/csscss-1.3.3/lib/csscss/redundancy_analyzer.rb:97:ineach_with_index'
from /Library/Ruby/Gems/2.0.0/gems/csscss-1.3.3/lib/csscss/redundancy_analyzer.rb:97:in redundancies' from /Library/Ruby/Gems/2.0.0/gems/csscss-1.3.3/lib/csscss/cli.rb:40:inexecute'
from /Library/Ruby/Gems/2.0.0/gems/csscss-1.3.3/lib/csscss/cli.rb:17:in run' from /Library/Ruby/Gems/2.0.0/gems/csscss-1.3.3/lib/csscss/cli.rb:200:inrun'
from /Library/Ruby/Gems/2.0.0/gems/csscss-1.3.3/bin/csscss:4:in <top (required)>' from /usr/bin/csscss:23:inload'
from /usr/bin/csscss:23:in `
Let me know if you have any other questions. Pretty slick tool and I'm excited to get it working!
Thanks,
Hayden