Skip to content

Commit

Permalink
Merge pull request #1 from PaulBGD/master
Browse files Browse the repository at this point in the history
fix global declaration
  • Loading branch information
imwtr committed Jul 16, 2020
2 parents 6eb3686 + 02156f4 commit 15fbc61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion find-free-port-sync.js
Expand Up @@ -93,7 +93,7 @@ FindFreePortSync.prototype = {
encoding: 'utf-8'
});

usedPorts = res.match(reg);
let usedPorts = res.match(reg);

// special address usage for ip.port
if (!usedPorts) {
Expand Down

0 comments on commit 15fbc61

Please sign in to comment.