@aaronshaf/ger
Advanced tools
Comparing version 1.2.4 to 1.2.5
{ | ||
"name": "@aaronshaf/ger", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"description": "Gerrit CLI", | ||
@@ -5,0 +5,0 @@ "main": "src/ger.ts", |
@@ -119,6 +119,10 @@ import { execSync } from "child_process"; | ||
const topicText = gerritData.topic | ||
? ` ${grey(`(${gerritData.topic})`)}` | ||
: ""; | ||
if (isVerbose) { | ||
table.push([ | ||
`${bold(localBranch)}\n${localBranchDataMap[localBranch].shortHash}`, | ||
labels.join(" "), | ||
`${bold(localBranch)}${topicText}\n${localBranchDataMap[localBranch].shortHash}`, | ||
`${labels.join(" ")}`, | ||
`${subject}\n${yellow(gerritData.url.replace("https://", ""))}`, | ||
@@ -125,0 +129,0 @@ approvalText, |
@@ -27,2 +27,3 @@ export type LocalBranchData = { | ||
subject: string; | ||
topic?: string; | ||
url: string; | ||
@@ -29,0 +30,0 @@ wip: boolean; |
@@ -15,5 +15,5 @@ import { execSync } from "child_process"; | ||
// grey background | ||
// grey with transparent background | ||
export function grey(text: string) { | ||
return `\x1b[47m\x1b[30m${text}\x1b[0m`; | ||
return `\x1b[37m\x1b[40m${text}\x1b[0m`; | ||
} | ||
@@ -20,0 +20,0 @@ |
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
12095
347