Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Check file IO status code

  • Loading branch information...
commit 63e487ac1057df285d2ad7757e9b7129cf7d7143 1 parent 1c72729
Victor Berchet vicb authored committed

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. +1 2  lib/less/sfLESS.class.php
3  lib/less/sfLESS.class.php
@@ -173,8 +173,7 @@ public function compile($lessFile)
173 173 $buffer = $this->callLesscCompiler($lessFile, $cssFile);
174 174 if ($buffer !== false)
175 175 {
176   - $isCompiled = true;
177   - $this->writeCssFile($cssFile, $buffer);
  176 + $isCompiled = $this->writeCssFile($cssFile, $buffer) !== false;
178 177 }
179 178 }
180 179

0 comments on commit 63e487a

Please sign in to comment.
Something went wrong with that request. Please try again.