toUpperCase fix

This commit is contained in:
Mathew Kurian 2016-01-24 07:53:58 -06:00
parent ca2b5bbffc
commit 9732654fec
6 changed files with 104256 additions and 58 deletions

View file

@ -166,7 +166,7 @@
"material": "material",
"licenseType": "MIT",
"link": "git://github.com/Automattic/mongoose.git",
"comment": "4.3.6"
"comment": "4.3.7"
},
{
"department": "kessler",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -49,8 +49,8 @@ export default class Inspector {
}
inspectTags(data) {
return ((data.persistent['tags'] || []).map(tag => chalk.cyan(`${tag.toUpperCase()}`)))
.concat((data.transient['tags'] || []).map(tag => chalk.magenta(`${tag.toUpperCase()}`))).join(' ');
return ((data.persistent['tags'] || []).map(tag => chalk.cyan(`${String(tag).toUpperCase()}`)))
.concat((data.transient['tags'] || []).map(tag => chalk.magenta(`${String(tag).toUpperCase()}`))).join(' ');
}
inspectPre(data) {