We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64d0be2 commit 2e216a4Copy full SHA for 2e216a4
index.js
@@ -792,7 +792,7 @@ const publicApiProxy = new Proxy(publicApi, {
792
}
793
794
let errorMessage = `${chalk.red(`Encore.${prop}`)} is not a recognized property or method.`;
795
- if (minDistance < 3) {
+ if (minDistance < (prop.length / 3)) {
796
errorMessage += ` Did you mean ${chalk.green(`Encore.${similarProperty}`)}?`;
797
798
0 commit comments