Skip to content

Commit

Permalink
fix: correct return code on timeout (#90)
Browse files Browse the repository at this point in the history
Fixes #89
  • Loading branch information
dwmkerr committed Sep 20, 2022
1 parent 4bd3221 commit 75988cc
Show file tree
Hide file tree
Showing 2 changed files with 4,925 additions and 445 deletions.
2 changes: 1 addition & 1 deletion bin/wait-port.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ program
waitForDns,
};

const open = await waitPort(params);
const { open } = await waitPort(params);
process.exit(open ? 0 : 1);
} catch (err) {
// Show validation errors in red.
Expand Down
Loading

0 comments on commit 75988cc

Please sign in to comment.