sass configured
This commit is contained in:
1 parent
c2e31ea175
commit
6a78380644
3424 files changed
+360558
-146
No files matched your search
+19
@@ -0,0 +1,19 @@
|
||||
const fs = require('./fs.js')
|
||||
const getOptions = require('./common/get-options.js')
|
||||
const withOwner = require('./with-owner.js')
|
||||
|
||||
// extends mkdir with the ability to specify an owner of the new dir
|
||||
const mkdir = async (path, opts) => {
|
||||
const options = getOptions(opts, {
|
||||
copy: ['mode', 'recursive'],
|
||||
wrap: 'mode',
|
||||
})
|
||||
|
||||
return withOwner(
|
||||
path,
|
||||
() => fs.mkdir(path, options),
|
||||
opts
|
||||
)
|
||||
}
|
||||
|
||||
module.exports = mkdir
|
||||
Reference in new issue
Block a user