mirror of
https://github.com/sveltejs/svelte.git
synced 2024-11-30 17:00:40 +01:00
Merge pull request #580 from sveltejs/gh-579
downgrade invalid callee error for event handlers to a warning
This commit is contained in:
commit
7c2fd8e3cd
@ -31,5 +31,5 @@ export default function validateEventHandlerCallee ( validator, attribute ) {
|
||||
message += `. '${callee.name}' exists on 'helpers', did you put it in the wrong place?`;
|
||||
}
|
||||
|
||||
validator.error( message, start );
|
||||
}
|
||||
validator.warn( message, start );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user