diff --git a/packages/babel-traverse/src/path/context.js b/packages/babel-traverse/src/path/context.js index 254b199166..a97045e10f 100644 --- a/packages/babel-traverse/src/path/context.js +++ b/packages/babel-traverse/src/path/context.js @@ -30,7 +30,7 @@ export function _call(fns?: Array): boolean { const ret = fn.call(this.state, this, this.state); if (ret && typeof ret === "object" && typeof ret.then === "function") { throw new Error( - `You appear to be using an plugin with an async traversay visitors, ` + + `You appear to be using a plugin with an async traversal visitor, ` + `which your current version of Babel does not support.` + `If you're using a published plugin, you may need to upgrade ` + `your @babel/core version.`,