Skip to content

Commit e004b97

Browse files
committed
build: update mkdirp to 1.0.4
1 parent e7cab98 commit e004b97

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

build/vendors-sass.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,7 @@ const compileSass = (options = {}) => {
7676
console.warn(warning.toString())
7777
})
7878
// write the result to file
79-
mkdirp(dirname(options.dest), err => {
80-
if (err) {
81-
throw err
82-
}
83-
79+
mkdirp(dirname(options.dest)).then(() => {
8480
// create .css file
8581
fs.writeFile(options.dest, result.css, err => {
8682
if (err) {

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@
108108
"js-beautify": "^1.13.0",
109109
"jsdom": "^16.4.0",
110110
"minimist": "^1.2.5",
111+
"mkdirp": "^1.0.4",
111112
"node-sass": "^5.0.0",
112113
"nodemon": "^2.0.6",
113114
"npm-run-all": "^4.1.5",

0 commit comments

Comments
 (0)