Skip to content

Commit e71836b

Browse files
committed
16544: Static fixes, added empty lines to if statements
1 parent 2ed9af3 commit e71836b

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
@@ -132,6 +132,7 @@ define([
132132
if (utils.isEmpty(value)) {
133133
return true;
134134
}
135+
135136
if (value.length !== 17) {
136137
return false;
137138
}
@@ -274,6 +275,7 @@ define([
274275
if (utils.isEmpty(value)) {
275276
return true;
276277
}
278+
277279
if (/[^0-9-]+/.test(value)) {
278280
return false;
279281
}

0 commit comments

Comments
 (0)