Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/return shell #26

Merged
merged 2 commits into from
Sep 16, 2022
Merged

Conversation

shortthefomo
Copy link
Contributor

@pkcs8 pkcs8 merged commit bdd8cfe into xrpscan:main Sep 16, 2022
@@ -5,6 +5,7 @@ const listPeer = async (): Promise<void> => {
Peer.find({}, '-_id -certificate -fingerprint', (error, peers) => {
printPeers(peers)
})
process.exit(1)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like I merged too hastily. Should be placed after printPeers() and return process.exit(0) to indicate successful run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

yarn peer [add|ls|remove] commands don't return shell
2 participants