mirror of
https://github.com/morhetz/gruvbox.git
synced 2025-11-17 07:43:38 -05:00
chore(package): re-init package with commitizen and standard-release
This commit is contained in:
20
node_modules/fs-extra/lib/walk-sync/index.js
generated
vendored
Normal file
20
node_modules/fs-extra/lib/walk-sync/index.js
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
var fs = require('graceful-fs')
|
||||
var path = require('path')
|
||||
|
||||
var walkSync = function (dir, filelist) {
|
||||
var files = fs.readdirSync(dir)
|
||||
filelist = filelist || []
|
||||
files.forEach(function (file) {
|
||||
var nestedPath = path.join(dir, file)
|
||||
if (fs.lstatSync(nestedPath).isDirectory()) {
|
||||
filelist = walkSync(nestedPath, filelist)
|
||||
} else {
|
||||
filelist.push(nestedPath)
|
||||
}
|
||||
})
|
||||
return filelist
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
walkSync: walkSync
|
||||
}
|
||||
Reference in New Issue
Block a user