Permalink
Browse files

Debugging Travis CI

  • Loading branch information...
1 parent 4dbe547 commit 4df6996dc429d4daa309c8f862a021492c0a92b6 @winton committed Jul 10, 2012
Showing with 2 additions and 5 deletions.
  1. +2 −5 lib/smart_asset.rb
View
7 lib/smart_asset.rb
@@ -76,11 +76,8 @@ def compress(type)
warning = ENV['WARN'] ? " -v" : nil
unless @bin
- @bin = Dir.chdir(@root) { `npm bin` }
- puts '!'*50
- puts @root
- puts @bin
- @bin = File.exists?(@bin) ? "#{@bin}/" : nil
+ @bin = Dir.chdir(@root) { `npm bin`.strip }
+ @bin = File.directory?(@bin) ? "#{@bin}/" : nil
end
if ext == 'js'

0 comments on commit 4df6996

Please sign in to comment.