Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Commit

Permalink
Fix: object of type 'Target' has no field 'intellij_info_files' #62
Browse files Browse the repository at this point in the history
  • Loading branch information
brychcy authored and damienmg committed Apr 24, 2018
1 parent fe33339 commit b9a2bdb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions resources/e4b_aspect.bzl
Expand Up @@ -93,8 +93,9 @@ def _aspect_impl(target, ctx):
deps = getattr(rule_attrs, attr_name)
if type(deps) == 'list':
for dep in deps:
ide_info_text = ide_info_text + dep.intellij_info_files.ide_info_text
ide_resolve_files = ide_resolve_files + dep.intellij_info_files.ide_resolve_files
if hasattr(dep, "intellij_info_files"):
ide_info_text = ide_info_text + dep.intellij_info_files.ide_info_text
ide_resolve_files = ide_resolve_files + dep.intellij_info_files.ide_resolve_files
all_deps += [str(dep.label) for dep in deps]

if hasattr(target, "java"):
Expand Down

0 comments on commit b9a2bdb

Please sign in to comment.