Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix function call name token type in function_indexes method
Currently, the method `function_indexes` in `lib/puppet-lint/data.rb` doesn't work and only returns empty arrays. This is because, when iterating over the `token` array, tokens are skipped if their type does not equal `:NAME` but tokens that represent function call declarations have the type `:FUNCTION_NAME` and are skipped during iteration.
- Loading branch information