diff --git a/src/configure.js b/src/configure.js index d6032f4..29fe6fa 100644 --- a/src/configure.js +++ b/src/configure.js @@ -139,6 +139,9 @@ export class Configure { for (let host of hostnames) { if (hostname.search(host) !== -1) { this.setEnvironment(env); + + // We have successfully found an environment, stop searching + return; } } }