mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-18 13:44:15 +00:00
chore: resolve codacy issues
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user