Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix for jsDoc param without additional parts

  • Loading branch information...
commit 7c82645dfb2a2a8022384aafbaf1f7962625f68d 1 parent f1ff5dc
Jason Seney authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/docker.js
2  src/docker.js
View
@@ -723,7 +723,7 @@ Docker.prototype.parseMultiline = function(comment){
}
break;
default:
- if(bits[0].charAt(0) == '{') tag.types = grabType(bits).split(/ *[|,\/] */);
+ if(bits.length > 0 && bits[0].charAt(0) == '{') tag.types = grabType(bits).split(/ *[|,\/] */);
tag.description = bits.join(' ');
tag.name = tagType;
tag.type = 'unknown';
Please sign in to comment.
Something went wrong with that request. Please try again.