Comparing version 1.0.0 to 1.0.1
@@ -41,3 +41,3 @@ #!/usr/bin/env node | ||
const open = await waitPort(params); | ||
const { open } = await waitPort(params); | ||
process.exit(open ? 0 : 1); | ||
@@ -44,0 +44,0 @@ } catch (err) { |
{ | ||
"name": "wait-port", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Utility to wait for a TCP port to open.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/wait-port.js", |
@@ -11,3 +11,3 @@ # wait-port | ||
<img src="https://github.com/dwmkerr/wait-port/raw/master/docs/wait-port.gif" alt="wait-port screenshot" width="520px" /> | ||
<img src="./docs/wait-port.gif" alt="wait-port screenshot" width="520px" /> | ||
@@ -14,0 +14,0 @@ - [Installation](#installation) |
45941
20