Unverified Commit b2569246 authored by Amaury Martiny's avatar Amaury Martiny Committed by GitHub

Merge pull request #259 from paritytech/am-fix-ci-2

Add default case
parents 89a5e5cc 0538928d
Pipeline #26149 failed with stages
in 6 minutes and 26 seconds
......@@ -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'.`);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment