sass configured

This commit is contained in:
dqnid committed 2023-08-15 10:26:20 +02:00
1 parent c2e31ea175
commit 6a78380644
3424 files changed
+360558 -146

No files matched your search

+19
View File
@@ -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