Since (Y) is the default choice, make (n) lowercase

This commit is contained in:
Slava Kim
2014-09-11 16:18:33 -07:00
parent 2c4a10921a
commit dedf0f83fd

View File

@@ -885,11 +885,11 @@ var checkAgreePlatformTerms = function (platform) {
process.stdout.write("The following terms apply to the '" + platform + "' platform:\n\n");
process.stdout.write(terms + "\n\n");
process.stdout.write("You must agree to the terms to proceed.\n");
process.stdout.write("Do you agree (Y/N)? ");
process.stdout.write("Do you agree (Y/n)? ");
var agreed = false;
var line = utils.readLine({ prompt: "Do you agree (Y/N)? "});
var line = utils.readLine({ prompt: "Do you agree (Y/n)? "});
line = line.trim().toLowerCase();
if (line === "") {
// Default to yes