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

Commit

Permalink
Merge pull request #259 from paritytech/am-fix-ci-2
Browse files Browse the repository at this point in the history
Add default case
  • Loading branch information
amaury1093 authored Nov 19, 2018
2 parents 89a5e5c + 0538928 commit b256924
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ function statusMatches (status, require) {
);
case 'sync':
return status === STATUS.GOOD;
default:
throw new Error(`Status '${status}' must be one of 'connected|sync'.`);
}
}

Expand Down

0 comments on commit b256924

Please sign in to comment.