mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28:41 -09:00
parent
0162a9f84d
commit
36cde0f23e
1 changed files with 2 additions and 2 deletions
|
|
@ -145,8 +145,8 @@ exports.htermConfigTranslate = config => {
|
||||||
Object.keys(cssReplacements).forEach(pattern => {
|
Object.keys(cssReplacements).forEach(pattern => {
|
||||||
const searchvalue = new RegExp(pattern, 'g');
|
const searchvalue = new RegExp(pattern, 'g');
|
||||||
const newvalue = cssReplacements[pattern];
|
const newvalue = cssReplacements[pattern];
|
||||||
config.css = config.css.replace(searchvalue, newvalue);
|
config.css = config.css && config.css.replace(searchvalue, newvalue);
|
||||||
config.termCSS = config.termCSS.replace(searchvalue, newvalue);
|
config.termCSS = config.termCSS && config.termCSS.replace(searchvalue, newvalue);
|
||||||
});
|
});
|
||||||
return config;
|
return config;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue