mirror of
https://gitee.com/dcloud/uni-preset-vue
synced 2025-04-09 15:23:08 +08:00
fix: rootOptions 可能不存在?
This commit is contained in:
parent
ef59d97fb1
commit
86351a9f73
@ -3,7 +3,7 @@ const path = require('path')
|
||||
|
||||
const isBinary = require('isbinaryfile')
|
||||
|
||||
async function generate (dir, files, base = '', rootOptions) {
|
||||
async function generate (dir, files, base = '', rootOptions = {}) {
|
||||
const glob = require('glob')
|
||||
|
||||
glob.sync('**/*', {
|
||||
|
Loading…
x
Reference in New Issue
Block a user