[PCPlugin] Fix improper casing in loadStylesheet replace
This commit is contained in:
parent
00134f0fe2
commit
8af61801e6
|
@ -34,7 +34,7 @@ export default (manifestPath, repo) => {
|
||||||
|
|
||||||
css = css.replace(/\\/g, '\\\\').replace(/\`/g, '\`'); // Escape backticks
|
css = css.replace(/\\/g, '\\\\').replace(/\`/g, '\`'); // Escape backticks
|
||||||
|
|
||||||
return `this.loadStyleSheet(\`${css}\`)`;
|
return `this.loadStylesheet(\`${css}\`)`;
|
||||||
});
|
});
|
||||||
|
|
||||||
const jsCode = `import powercord from '_powercord/global';\n` + content;
|
const jsCode = `import powercord from '_powercord/global';\n` + content;
|
||||||
|
|
Loading…
Reference in New Issue