Permalink
Browse files

Omit pull requests in version list

  • Loading branch information...
1 parent 1859bb2 commit e1fac392574b666b3fa1ad25d9a2f6cdf2aa3adb @kriszyp committed Jul 6, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/model/package.js
View
@@ -123,6 +123,9 @@ function updateVersions(pckg, force){
var latestVersion;
return when(queryRepo(repoName).forEach(function(version, type){
try{
+ if(type == "pull"){
+ return;
+ }
var gitVersion = version;
if(version.match(/^v\d+\.\d+/)){
// following semver v-prefixing for tags, strip it off

0 comments on commit e1fac39

Please sign in to comment.