Debug log fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
31f75e50b6
commit
cf73e71ff1
1 changed files with 6 additions and 1 deletions
|
@ -95,7 +95,12 @@ class SCSSCacher {
|
||||||
$this->logger->error($e, ['app' => 'SCSSPHP']);
|
$this->logger->error($e, ['app' => 'SCSSPHP']);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return file_put_contents($this->fileCache, $this->rebaseUrls($compiledScss));
|
|
||||||
|
if(file_put_contents($this->fileCache, $this->rebaseUrls($compiledScss))) {
|
||||||
|
$this->logger->debug($root.'/'.$file.' compiled and successfully cached', ['app' => 'SCSSPHP']);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function rebaseUrls($css) {
|
private function rebaseUrls($css) {
|
||||||
|
|
Loading…
Reference in a new issue