Add missing space in error messages (#9909)
This commit is contained in:
parent
555d50a08c
commit
16e17c560b
@ -202,7 +202,7 @@ const loadDescriptor = makeWeakCache(
|
||||
if (typeof item.then === "function") {
|
||||
throw new Error(
|
||||
`You appear to be using an async plugin, ` +
|
||||
`which your current version of Babel does not support.` +
|
||||
`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.`,
|
||||
);
|
||||
|
||||
@ -93,7 +93,7 @@ function transformFile(file: File, pluginPasses: PluginPasses): void {
|
||||
if (isThenable(result)) {
|
||||
throw new Error(
|
||||
`You appear to be using an plugin with an async .pre, ` +
|
||||
`which your current version of Babel does not support.` +
|
||||
`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.`,
|
||||
);
|
||||
@ -117,7 +117,7 @@ function transformFile(file: File, pluginPasses: PluginPasses): void {
|
||||
if (isThenable(result)) {
|
||||
throw new Error(
|
||||
`You appear to be using an plugin with an async .post, ` +
|
||||
`which your current version of Babel does not support.` +
|
||||
`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.`,
|
||||
);
|
||||
|
||||
@ -31,7 +31,7 @@ export function _call(fns?: Array<Function>): boolean {
|
||||
if (ret && typeof ret === "object" && typeof ret.then === "function") {
|
||||
throw new Error(
|
||||
`You appear to be using a plugin with an async traversal visitor, ` +
|
||||
`which your current version of Babel does not support.` +
|
||||
`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.`,
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user