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

Commit

Permalink
[fix] aspects don't fail if there is no kotlin provider
Browse files Browse the repository at this point in the history
Merge-request: BAZEL-MR-491
Merged-by: Marcin Abramowicz <marcin.abramowicz@jetbrains.com>
  • Loading branch information
abrams27 authored and qodana-bot committed Sep 4, 2023
1 parent 3210cce commit 4e9f592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aspects/rules/kt/kt_info.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def extract_kotlin_info(target, ctx, **kwargs):
# provider = target[KtJvmInfo]

if not hasattr(target, "kt"):
return None
return None, None

provider = target.kt

Expand Down

0 comments on commit 4e9f592

Please sign in to comment.