Do not stop on scss compilation failure

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2017-09-26 15:29:37 +02:00
parent 9080976975
commit dec713fc92
No known key found for this signature in database
GPG Key ID: FB5ACEED51955BF8
1 changed files with 2 additions and 0 deletions

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);