We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 705cc7d commit d6a7645Copy full SHA for d6a7645
util/compile-sass.sh
@@ -5,7 +5,7 @@
5
# or the CSS::Sass Perl 5 module: https://metacpan.org/pod/CSS::Sass
6
#
7
8
-if command -v sass >/dev/null 2>&1; then
+if command -v sass >/dev/null 2>&1 && sass --version 2>&1/dev/null; then
9
sass -t compressed assets/sass/style.scss:html/css/style.css &&
10
echo "Successfully compiled SASS using 'sass' command" ||
11
{ echo "Failed to compile SASS with 'sass' command"; exit 1; }
0 commit comments