Skip to content

Commit

Permalink
Update format.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tclindner committed Jun 29, 2019
1 parent 256b50d commit 8ee9df1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validators/format.js
Expand Up @@ -6,7 +6,7 @@ const semver = require('semver');
* @return {boolean} True if the string is lowercase or is missing. False if it is not.
*/
const isLowercase = name => {
if (typeof name === 'undefined') {
if (typeof name !== 'string') {
return true;
}

Expand Down

0 comments on commit 8ee9df1

Please sign in to comment.