Ignore SCSS empty errors
This commit is contained in:
parent
c9a20b7fcf
commit
01cacb3ef6
|
@ -73,7 +73,7 @@ class Comms {
|
|||
});
|
||||
|
||||
BDIpc.on('bd-compileSass', o => {
|
||||
if (typeof o.args.path !== 'string' && typeof o.args.data !== 'string') return;
|
||||
if (!o.args.path && !o.args.data) o.reply('');
|
||||
if (typeof o.args.path === 'string' && typeof o.args.data === 'string') {
|
||||
o.args.data = `${o.args.data} @import '${o.args.path}';`;
|
||||
o.args.path = undefined;
|
||||
|
|
Loading…
Reference in New Issue