Skip to content

Commit

Permalink
Bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey K committed Apr 16, 2020
1 parent 6e461f7 commit 9664a17
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ plugins {
}

group 'io.github'
version '1.5.2'
version '1.5.3'
sourceCompatibility = JavaVersion.VERSION_11

repositories {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ private static String getValueFromExpression(PsiExpression expression) {
String text = null;
if (expression instanceof PsiMethodCallExpression) {
PsiMethod method = ((PsiMethodCallExpressionImpl) expression).resolveMethod();
if (Objects.requireNonNull(method).hasAnnotation(Annotations.OWNER_KEY_ANNOTATION) || method.getAnnotations().length > 0) {
if (Objects.requireNonNull(method).hasAnnotation(Annotations.OWNER_KEY_ANNOTATION) || method.getAnnotations().length > 0 && !method.hasAnnotation(Annotations.ALLURE2_STEP_ANNOTATION)) {
text = getValueFromAnnotatedMethod(expression, method);
} else if (method.getBody() != null) {
PsiStatement[] statements = method.getBody().getStatements();
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<idea-version since-build="192"/>
<change-notes><![CDATA[<html>
<ul>
<li>Custom SSL certificates support added</li>
<li>Gradle wrapper version updated</li>
<li>Bugs fixed</li>
</ul>
</html>]]>
</change-notes>
Expand Down

0 comments on commit 9664a17

Please sign in to comment.