Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Omit pull requests in version list

  • Loading branch information...
commit e1fac392574b666b3fa1ad25d9a2f6cdf2aa3adb 1 parent 1859bb2
@kriszyp authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  lib/model/package.js
View
3  lib/model/package.js
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.