buttonLabel -> Button label for consistency

This commit is contained in:
Kevin Sawicki 2016-12-01 14:16:33 -08:00
parent 750bd9a88b
commit 36371357cd
2 changed files with 4 additions and 4 deletions

View file

@ -78,7 +78,7 @@ module.exports = {
if (options.buttonLabel == null) {
options.buttonLabel = ''
} else if (typeof options.buttonLabel !== 'string') {
throw new TypeError('buttonLabel must be a string')
throw new TypeError('Button label must be a string')
}
if (options.defaultPath == null) {
options.defaultPath = ''
@ -111,7 +111,7 @@ module.exports = {
if (options.buttonLabel == null) {
options.buttonLabel = ''
} else if (typeof options.buttonLabel !== 'string') {
throw new TypeError('buttonLabel must be a string')
throw new TypeError('Button label must be a string')
}
if (options.defaultPath == null) {
options.defaultPath = ''