From 6348ea3e676d997e24168640e22a74990af7f89a Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sun, 21 Jun 2009 02:24:39 -0700 Subject: [PATCH] [Compass Internals] Don't emit a stylesheet link to partials when printing the installation results. --- lib/compass/installers/base.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/compass/installers/base.rb b/lib/compass/installers/base.rb index 43dd2ef3..b2207ffd 100644 --- a/lib/compass/installers/base.rb +++ b/lib/compass/installers/base.rb @@ -127,6 +127,8 @@ module Compass def stylesheet_links html = "\n" manifest.each_stylesheet do |stylesheet| + # Skip partials. + next if File.basename(stylesheet.from)[0..0] == "_" media = if stylesheet.options[:media] %Q{ media="#{stylesheet.options[:media]}"} end