Skip to content

Commit 4b36428

Browse files
Removed unreachable code in on-watch
1 parent c2e1435 commit 4b36428

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

rules/on-watch.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ module.exports = function(context) {
4646
* argument of the string '$destroy'.
4747
*/
4848
function isFirstArgDestroy(node) {
49-
if (node.type !== 'CallExpression') {
50-
return false;
51-
}
52-
5349
var args = node.arguments;
5450

5551
return (args.length >= 1 &&

0 commit comments

Comments
 (0)