Comparing version 2.0.1 to 2.0.2
@@ -106,3 +106,3 @@ { | ||
"pretty_print": false, | ||
"pretty_print": true, | ||
@@ -109,0 +109,0 @@ "replace": {}, |
@@ -603,3 +603,4 @@ "use strict"; | ||
logger.log(`${logger.colors.blue('Branch:')} ${branch.name} (${branch.total})`); | ||
if (config.pretty_print || options.prettyPrint) { | ||
const printTableView = config.pretty_print === undefined || Boolean(config.pretty_print); | ||
if (printTableView) { | ||
instance.printPullsInfoTable_(branch.pulls); | ||
@@ -606,0 +607,0 @@ } |
{ | ||
"name": "gh", | ||
"description": "GitHub command line tools.", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"homepage": "http://nodegh.io", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -140,3 +140,3 @@ # Node GH | ||
- **Shortcut** for listing open pull requests for the current repository. | ||
- To pretty print output in a table add `"pretty_print": true` to your `~/.gh-json` config or to cli like `--prettyPrint` | ||
- To turn off pretty printing of output in a table add `"pretty_print": false` to your `~/.gh-json` config | ||
@@ -143,0 +143,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
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
311531
4154