mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-06-13 19:22:13 +00:00
chore: resolve codacy issues
This commit is contained in:
parent
d9d8def9ea
commit
99c731e181
@ -20,8 +20,7 @@ function main() {
|
||||
.then(() => fs.mkdir(DIST_PATH))
|
||||
.then(() => new PurgeCSS().purge(config))
|
||||
.then((result) => {
|
||||
const dist = config.output.replace('.css', '.scss');
|
||||
return fs.writeFile(dist, result[0].css);
|
||||
return fs.writeFile(`${DIST_PATH}/bootstrap.scss`, result[0].css);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error('Error during PurgeCSS process:', err);
|
||||
|
Loading…
x
Reference in New Issue
Block a user