Skip to content

Commit cbbd01f

Browse files
committed
chore(): remove log statements to detail the ports and host being used.
1 parent 110bc0c commit cbbd01f

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

lib/utils/serve.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var DEFAULT_LIVE_RELOAD_PORT = 35729;
55
var Q = require('q');
66

77
function getUrl(address, port) {
8-
8+
99
var platformName = require('os').platform();
1010

1111
if ((platformName.indexOf('win') !== -1 && platformName !== 'darwin') &&
@@ -19,7 +19,6 @@ function getUrl(address, port) {
1919
}
2020

2121
function findClosestOpenPort(host, port) {
22-
console.log(host, port);
2322

2423
function t(portToCheck) {
2524
return isPortTaken(host, portToCheck).then(function(isTaken) {
@@ -34,7 +33,6 @@ function findClosestOpenPort(host, port) {
3433
}
3534

3635
function isPortTaken(host, port) {
37-
console.log(host, port);
3836
var deferred = Q.defer();
3937
var net = require('net');
4038

@@ -63,4 +61,4 @@ module.exports = {
6361
getUrl: getUrl,
6462
isPortTaken: isPortTaken,
6563
findClosestOpenPort: findClosestOpenPort
66-
};
64+
};

0 commit comments

Comments
 (0)