Skip to content

Commit 0984906

Browse files
author
Vitaliy Boyko
committed
Fixed tests
1 parent 48001eb commit 0984906

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/gradle.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
name: Run automated tests
55

66
on:
7-
push:
8-
branches: [ master, 1.0.0-develop ]
97
pull_request:
108
branches: [ master, 1.0.0-develop ]
119

src/com/magento/idea/magento2plugin/inspections/xml/CacheableFalseInDefaultLayoutInspection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public PsiElementVisitor buildVisitor(final @NotNull ProblemsHolder holder, fina
2424
@Override
2525
public void visitXmlAttribute(XmlAttribute attribute) {
2626
String fileName = holder.getFile().getName();
27-
//if (!fileName.equals(LayoutXml.DefaultFileName)) return;
27+
if (!fileName.equals(LayoutXml.DefaultFileName)) return;
2828
final String text = attribute.getValue();
2929
final String attributeName = attribute.getName();
3030
if (!attributeName.equals(LayoutXml.CacheableAttributeName)) return;

0 commit comments

Comments
 (0)