fix: extra properties in templateFiles (#4925)

This commit is contained in:
Xin Du (Clark) 2019-02-01 16:25:32 +00:00 committed by Pooya Parsa
parent 268851fe85
commit ca191240fb

View File

@ -447,7 +447,7 @@ export default class Builder {
dst: t.dst || path.basename(t.src || t), dst: t.dst || path.basename(t.src || t),
custom: true custom: true
}, },
t typeof t === 'object' ? t : undefined
) )
}) })
) )