summaryrefslogtreecommitdiff
path: root/lib/license
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-03-05 13:09:56 -0700
committermo khan <mo.khan@gmail.com>2020-03-05 13:09:56 -0700
commit3ba69dee555ae1f4ea8cf8dfa69cc44222daa2bb (patch)
tree313317944925928193774f49ce9dae3eebd38a66 /lib/license
parent3614caf010c47a147d0d59a5dccc348dce9bb61f (diff)
Print license finder debug info
Diffstat (limited to 'lib/license')
-rw-r--r--lib/license/management/report.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/license/management/report.rb b/lib/license/management/report.rb
index 6acfb67..b1bf9ed 100644
--- a/lib/license/management/report.rb
+++ b/lib/license/management/report.rb
@@ -22,7 +22,7 @@ module License
# This method overrides the method defined in `LicenseFinder::JsonReport` to
# allow us to generate a custom json report.
def to_s
- JSON.pretty_generate(version_for(report_version).to_h) + "\n"
+ JSON.pretty_generate(version_for(report_version).to_h)
end
private