Skip to content
Permalink
Browse files
Remove tautology in condition
  • Loading branch information
raphinesse committed May 12, 2018
1 parent 6b06381 commit 56cdf84244c7f6244f494d0408e48bfd0a13b045
Showing 1 changed file with 1 addition and 1 deletion.
@@ -257,7 +257,7 @@ module.exports = function (dir, optionalId, optionalName, cfg, extEvents) {
// Pkjson.name should equal config's id.
if (cfg.id) {
pkgjson.name = cfg.id.toLowerCase();
} else if (!cfg.id) {
} else {
// Use default name.
pkgjson.name = 'helloworld';
}

0 comments on commit 56cdf84

Please sign in to comment.