Skip to content

Commit 2fc0817

Browse files
VitaliyBoykonmalevanec
authored andcommitted
16544: Static fixes, added empty lines to if statements
1 parent e7eba95 commit 2fc0817

File tree

1 file changed

+2
-0
lines changed
  • app/code/Magento/Ui/view/base/web/js/lib/validation

1 file changed

+2
-0
lines changed

app/code/Magento/Ui/view/base/web/js/lib/validation/rules.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ define([
133133
if (utils.isEmpty(value)) {
134134
return true;
135135
}
136+
136137
if (value.length !== 17) {
137138
return false;
138139
}
@@ -275,6 +276,7 @@ define([
275276
if (utils.isEmpty(value)) {
276277
return true;
277278
}
279+
278280
if (/[^0-9-]+/.test(value)) {
279281
return false;
280282
}

0 commit comments

Comments
 (0)