fix(ui): config.file

This commit is contained in:
Guillaume Chau
2018-04-23 01:33:53 +02:00
parent dda471d428
commit 3801d0a9bd

View File

@@ -51,6 +51,7 @@ function findFile (config, context) {
function readData (config, context) {
const file = findFile(config, context)
config.file = file
if (file) {
if (file.type === 'package') {
const pkg = folders.readPackage(cwd.get(), context)