Skip to content

Commit

Permalink
fix: sentenced to empty
Browse files Browse the repository at this point in the history
  • Loading branch information
BeADre committed Nov 16, 2020
1 parent e23ecb2 commit 2f21c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/varlet-cli/src/shared/fsUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function accessProperty(target: any, operator: string) {
if (value === null || value === undefined) {
return null
}
return value[key]
return value[key] || []
}, target)
}

Expand Down

0 comments on commit 2f21c5b

Please sign in to comment.