Skip to content

Commit

Permalink
Fixes problem when data is missing in template
Browse files Browse the repository at this point in the history
  • Loading branch information
dlmr committed Apr 5, 2017
1 parent 0a86d50 commit 229727d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/init/generateTemplate/collect.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default async function(data, metadata, done) {
export default async function(data = {}, metadata, done) {
const keys = Object.getOwnPropertyNames(data);

for (const key of keys) {
Expand Down

0 comments on commit 229727d

Please sign in to comment.