gitlab-cli
Advanced tools
Comparing version 0.0.12 to 0.0.13
@@ -171,3 +171,3 @@ var projects = []; | ||
{ | ||
client.projects.list({}, function onProjectsLoaded(error, _projects) { | ||
client.projects.list({per_page: 100}, function onProjectsLoaded(error, _projects) { | ||
projects = _projects; | ||
@@ -202,2 +202,4 @@ | ||
if (checkResource(cb)) { | ||
data.per_page = data.per_page || 100; | ||
client[resource.type].list(data, function(error, data) { | ||
@@ -371,8 +373,8 @@ if (data) { | ||
{ | ||
var aliases = ''; | ||
var out = ''; | ||
for(var alias in aliases) { | ||
aliases += alias +':\t\t' + aliases[alias] + '\n'; | ||
out += alias +':\t\t' + aliases[alias] + '\n'; | ||
} | ||
cb(null, aliases); | ||
cb(null, out); | ||
} | ||
module.exports['list-aliases'] = listAliases; |
{ | ||
"name": "gitlab-cli", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"description": "Gitlab API on the command line", | ||
@@ -5,0 +5,0 @@ "main": "./bin/cli.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
755
63718