Skip to content

Commit

Permalink
🎨 Minor tweak to explain output
Browse files Browse the repository at this point in the history
  • Loading branch information
pmonks committed Jan 2, 2024
1 parent 85ed623 commit 072b2e8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified demo-licenses-explain.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/tools_licenses/tasks.clj
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
:medium (ansi/fg-bright :yellow "medium")
:high (ansi/fg-bright :green "high"))))
(when-let [strategy (:strategy %)] (str (ansi/bold "\n Strategy: ") (get lcu/strategy->string strategy (name strategy))))
(when-let [source (seq (map remove-file-prefix (:source %)))] (str (ansi/bold "\n Source:") "\n " (s/join "\n " source))))
(when-let [source (seq (map remove-file-prefix (:source %)))] (str (ansi/bold "\n Source:") "\n " (s/join "\n " source))))
info-list))))))

(defn- explain-with-licenses!
Expand Down

0 comments on commit 072b2e8

Please sign in to comment.