Fix grammar in error message at @babel/plugin-transform-runtime (#8581)

This commit is contained in:
Ryunosuke Sato 2018-08-30 03:57:36 +09:00 committed by Logan Smyth
parent 9d244ae66b
commit 15f456651a

View File

@ -68,7 +68,7 @@ export default declare((api, options, dirname) => {
(typeof corejsVersion !== "string" || corejsVersion !== "2")
) {
throw new Error(
`The 'corejs' option must be undefined, false, or 2, or '2', ` +
`The 'corejs' option must be undefined, false, 2 or '2', ` +
`but got ${JSON.stringify(corejsVersion)}.`,
);
}