Skip to content

Commit 70e358b

Browse files
committed
Remove redundant return fixes #6
1 parent 9d3763a commit 70e358b

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ function parseUnit (postcode) {
3535
function Postcode (rawPostcode) {
3636
this._raw = rawPostcode;
3737
this._valid = isValidPostcode(rawPostcode);
38-
39-
if (!this._valid) {
40-
return null;
41-
}
4238
}
4339

4440
Postcode.validOutcode = function (outcode) {

0 commit comments

Comments
 (0)