Skip to content

feat: Dynamic String Prompt for REPL#624

Open
khill-fbmc wants to merge 1 commit into
hongaar:mainfrom
khill-fbmc:main
Open

feat: Dynamic String Prompt for REPL#624
khill-fbmc wants to merge 1 commit into
hongaar:mainfrom
khill-fbmc:main

Conversation

@khill-fbmc

Copy link
Copy Markdown
Contributor

I feel this is a pretty naive approach to this. I know that you offer the app.prompt() method so maybe I could use that instead? What are your thoughts?

return Math.floor(Math.random() * (max - min + 1)) + min;
}

const dice = app.add(

Check notice

Code scanning / CodeQL

Unused variable, import, function or class

Unused variable dice.
@hongaar

hongaar commented Aug 19, 2024

Copy link
Copy Markdown
Owner

Thanks for your PR. This looks fine to me. Please also change the signature of the prompt method and update the readme.

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.

3 participants