Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
fix(type-check): prevent cannot read prop from type
Browse files Browse the repository at this point in the history
Co-Authored-By: Jonny Adshead <JAdshead@users.noreply.github.com>
  • Loading branch information
2 people authored and Mike Tobia committed Jan 13, 2020
1 parent b032aed commit d0ff851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/dangers/keep-package-and-lock-in-sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export function lockFileLint(

if (result && result.type === 'success') {
onSuccess();
} else if (result.type === 'error') {
} else if (result && result.type === 'error') {
result.errors.forEach((error) => onError(
`\n${error.message}\n\nat ${basePath}\n`,
basePath,
Expand Down

0 comments on commit d0ff851

Please sign in to comment.