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

refactor(scripts): improve user prompts for single-node.sh (backport #3685) #3708

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jul 18, 2024

Closes #3652

Overview

It modifies single-node.sh script.
This rewrites the first prompt and deletes the second one.
I wanted write Do you want to start a new local testnet? [y/n] only when $HOME/.celestia-app does not exist. But it looks like as soon as celestia-app is invoked, it creates the directory. Hence I cannot use this information.


This is an automatic backport of pull request #3685 done by [Mergify](https://mergify.com).

Closes #3652

## Overview

It modifies `single-node.sh` script.
This rewrites the first prompt and deletes the second one.
I wanted write `Do you want to start a new local testnet? [y/n]` only
when `$HOME/.celestia-app` does not exist. But it looks like as soon as
`celestia-app` is invoked, it creates the directory. Hence I cannot use
this information.

---------

Co-authored-by: Rootul Patel <rootulp@gmail.com>
(cherry picked from commit a11ee9f)
@mergify mergify bot requested a review from a team as a code owner July 18, 2024 19:19
@mergify mergify bot requested review from cmwaters and rach-id July 18, 2024 19:19
@github-actions github-actions bot added the bot item was created by a bot label Jul 18, 2024
@rootulp rootulp enabled auto-merge (squash) July 18, 2024 19:49
@rootulp rootulp self-assigned this Jul 18, 2024
@rootulp rootulp merged commit b63b118 into v2.x Jul 19, 2024
33 of 35 checks passed
@rootulp rootulp deleted the mergify/bp/v2.x/pr-3685 branch July 19, 2024 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot item was created by a bot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants