Skip to content

repl: accept no arguments to start()#5388

Merged
cjihrig merged 1 commit intonodejs:masterfrom
cjihrig:5385
Feb 25, 2016
Merged

repl: accept no arguments to start()#5388
cjihrig merged 1 commit intonodejs:masterfrom
cjihrig:5385

Conversation

@cjihrig
Copy link
Contributor

@cjihrig cjihrig commented Feb 23, 2016

Currently, there is a check to ensure that the user either provides an object or a string to repl.start(). The string case is used to set a REPL prompt. However, a default of '> ' already exists, so forcing the user to specify a prompt is a bit redundant. This commit removes this restriction.

Closes #5385

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

repl Issues and PRs related to the REPL subsystem. semver-minor PRs that contain new features and should be released in the next minor version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants