Skip to content

Commit

Permalink
fix(gitHead): fix bad backward compat
Browse files Browse the repository at this point in the history
  • Loading branch information
vvo committed Aug 28, 2017
1 parent 359f498 commit 195108f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion formatPkg.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default function formatPkg(pkg) {
devDependencies,
originalAuthor: cleaned.author,
githubRepo,
gitHead: githubRepo.head, // remove this when we update to the new schema frontend
gitHead: githubRepo && githubRepo.head, // remove this when we update to the new schema frontend
readme: pkg.readme,
owner,
deprecated: cleaned.deprecated !== undefined ? cleaned.deprecated : false,
Expand Down

0 comments on commit 195108f

Please sign in to comment.