Skip to content

Conversation

@mattvague
Copy link
Contributor

@mattvague mattvague commented May 12, 2023

Right now if I try to define a custom directive with a non-existent directive in .before() e.g. `Alpine.directive('foo', foo).before('baz') I get the following error:

alpinejs:5 Cannot find directive ${directive}. ${name} will use the default order of execution

Instead of

alpinejs:5 Cannot find directive baz. foo will use the default order of execution

The issue is that the error message is defined using double quotes instead of backticks. This PR fixes the issue and should now print the error correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants