Merge pull request #113 from JsSucks/themes

Ensure forward slashes
This commit is contained in:
Alexei Stukov 2018-02-11 22:28:18 +02:00 committed by GitHub
commit 0b1dabd80b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ class Theme {
if (this.info.type === 'sass') { if (this.info.type === 'sass') {
css = await ClientIPC.send('bd-compileSass', { css = await ClientIPC.send('bd-compileSass', {
scss: ThemeManager.getConfigAsSCSS(this.themeConfig), scss: ThemeManager.getConfigAsSCSS(this.themeConfig),
path: this.paths.mainPath path: this.paths.mainPath.replace(/\\/g, '/')
}); });
console.log(css); console.log(css);
} else { } else {