Comparing version 1.2.0 to 1.2.1
{ | ||
"name": "rbwhat", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Quickly list review-board requests that need your attention", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -1,2 +0,1 @@ | ||
#!/usr/bin/env node | ||
// Generated by CoffeeScript 1.7.1 | ||
@@ -14,8 +13,10 @@ (function() { | ||
fs = require('fs'); | ||
querystringify = (require('querystring')).stringify; | ||
client = new (require('node-rest-client')).Client(); | ||
client = new (require('node-rest-client')).Client({ | ||
user: process.env.USER | ||
}); | ||
fs = require('fs'); | ||
configPath = process.env.HOME + '/.rbwhat.json'; | ||
@@ -68,3 +69,3 @@ | ||
if (show) { | ||
return console.log(output.join('\n')); | ||
return console.log(output.join('\n') + '\n'); | ||
} | ||
@@ -89,4 +90,5 @@ }; | ||
var branch, bug, repo, title, url, _ref; | ||
repo = pad(((_ref = request.links.repository) != null ? _ref.title : void 0) || 'No Repo', 25).white; | ||
repo = 'repo '.grey + repo; | ||
repo = 'git '.grey; | ||
repo += (((_ref = request.links.repository) != null ? _ref.title : void 0) || 'No Repo').white; | ||
branch = (request.branch || 'No Branch').white; | ||
title = request.summary.bold; | ||
@@ -96,3 +98,2 @@ bug = request.bugs_closed[0]; | ||
bug = 'bug '.grey + pad(bug, 24).white; | ||
branch = 'branch '.grey + (request.branch || 'None').white; | ||
url = ("" + config.url + "r/" + request.id + "/").underline; | ||
@@ -102,3 +103,3 @@ if (config.linkDiff) { | ||
} | ||
return ["" + (pad(colorName(submitter, submitter), 25)) + " " + title, "" + repo + " " + bug + " " + branch, " " + url]; | ||
return ["" + (pad(colorName(submitter, submitter), 25)) + " " + title, " " + bug + " " + repo + " " + '/'.grey + " " + branch, " " + url]; | ||
}; | ||
@@ -105,0 +106,0 @@ |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
69972
8
179
3