Skip to content

Commit bcd8849

Browse files
committed
style: add some missing semicolons
1 parent 984491a commit bcd8849

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

semver.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -314,9 +314,9 @@ function SemVer(version, loose) {
314314
else
315315
this.prerelease = m[4].split('.').map(function(id) {
316316
if (/^[0-9]+$/.test(id)) {
317-
var num = +id
317+
var num = +id;
318318
if (num >= 0 && num < MAX_SAFE_INTEGER)
319-
return num
319+
return num;
320320
}
321321
return id;
322322
});
@@ -966,11 +966,11 @@ function replaceXRange(comp, loose) {
966966
} else if (gtlt === '<=') {
967967
// <=0.7.x is actually <0.8.0, since any 0.7.x should
968968
// pass. Similarly, <=7.x is actually <8.0.0, etc.
969-
gtlt = '<'
969+
gtlt = '<';
970970
if (xm)
971-
M = +M + 1
971+
M = +M + 1;
972972
else
973-
m = +m + 1
973+
m = +m + 1;
974974
}
975975

976976
ret = gtlt + M + '.' + m + '.' + p;

0 commit comments

Comments
 (0)