prompt-base
Advanced tools
Comparing version 4.0.2 to 4.0.3
@@ -828,3 +828,7 @@ 'use strict'; | ||
get: function() { | ||
return this.question.prefix || (log.cyan('?') + ' '); | ||
if (typeof this.question.prefix === 'undefined') { | ||
return log.cyan('?') + ' '; | ||
} else { | ||
return this.question.prefix; | ||
} | ||
} | ||
@@ -831,0 +835,0 @@ }); |
{ | ||
"name": "prompt-base", | ||
"description": "Base prompt module used for creating custom prompts.", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"homepage": "https://github.com/enquirer/prompt-base", | ||
@@ -9,2 +9,3 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
"Brian Woodward (https://twitter.com/doowb)", | ||
"James Clark (http://arbitraryclark.blogspot.com)", | ||
"Jon Schlinkert (http://twitter.com/jonschlinkert)" | ||
@@ -11,0 +12,0 @@ ], |
48517
834