From a1c5b8f7054ac0ac708a498c2a6308f3ed1cb8f0 Mon Sep 17 00:00:00 2001 From: Rahul Chanila Date: Mon, 11 Dec 2017 13:10:19 +1100 Subject: [PATCH] Updates comment to reflect codebase (#3576) the code got updated from `detect()` to `choosePort` while the comment did not. --- packages/react-scripts/scripts/start.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-scripts/scripts/start.js b/packages/react-scripts/scripts/start.js index 8df052d3bbb..7eb7ad464c0 100644 --- a/packages/react-scripts/scripts/start.js +++ b/packages/react-scripts/scripts/start.js @@ -52,7 +52,7 @@ const DEFAULT_PORT = parseInt(process.env.PORT, 10) || 3000; const HOST = process.env.HOST || '0.0.0.0'; // We attempt to use the default port but if it is busy, we offer the user to -// run on a different port. `detect()` Promise resolves to the next free port. +// run on a different port. `choosePort()` Promise resolves to the next free port. choosePort(HOST, DEFAULT_PORT) .then(port => { if (port == null) {