[PCPlugin] Fix improper casing in loadStylesheet replace

This commit is contained in:
Ducko 2021-04-22 21:36:22 +01:00 committed by Lexi Sother
parent 00134f0fe2
commit 8af61801e6
No known key found for this signature in database
GPG Key ID: 355968D14144B739
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ export default (manifestPath, repo) => {
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;