Skip to content

Commit e82e4d5

Browse files
authored
Merge pull request #123 from SaranshBS/check-undefined-key-value
checking key value
2 parents 569f75c + 667fcd9 commit e82e4d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Local.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ function Local(){
9191

9292
switch(key){
9393
case 'key':
94-
this.key = value;
94+
if(value)
95+
this.key = value;
9596
break;
9697

9798
case 'verbose':

0 commit comments

Comments
 (0)