Browse Source

Do not stop on scss compilation failure

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
tags/v13.0.0beta1
John Molakvoæ (skjnldsv) 6 years ago
parent
commit
dec713fc92
No account linked to committer's email address
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      lib/private/Template/SCSSCacher.php

+ 2
- 0
lib/private/Template/SCSSCacher.php View File

@@ -183,6 +183,8 @@ class SCSSCacher {
$path,
\OC::$SERVERROOT . '/core/css/',
]);
// Continue after throw
$scss->setIgnoreErrors(true);
if($this->config->getSystemValue('debug')) {
// Debug mode
$scss->setFormatter(Expanded::class);

Loading…
Cancel
Save