Skip to content

Commit

Permalink
Output tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Schinkel committed Oct 20, 2022
1 parent d41ce10 commit 55b1920
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pkg/run_audit.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ func RunAudit(cmd *cobra.Command, args []string) {
ctx := context.Background()
options := GetOptions()

Notef("\n")
Notef("\nBeginning License Audit")
pf, err := LoadProjectFile(options.SourceDir)
if err != nil {
Expand All @@ -33,7 +34,8 @@ func RunAudit(cmd *cobra.Command, args []string) {

Notef("\nAuditing dependencies...")
changes, disalloweds := pf.AuditDependencies(deps)
Notef("\nAudit complete.\n")
Notef("\nAudit complete.")
Notef("\n")

if !changes.HasChanges() {
Notef("\nNo chances detected")
Expand Down Expand Up @@ -71,6 +73,7 @@ func ShouldGenerateOverrides(cmd *cobra.Command) bool {
}

func GenerateOverrides(ctx context.Context, disalloweds Dependencies) {
Notef("\n")
Notef("\nCreating %s", OverridesFilename)

of := NewOverridesFile(options.SourceDir)
Expand All @@ -89,6 +92,7 @@ func GenerateOverrides(ctx context.Context, disalloweds Dependencies) {
of.Filepath,
err.Error())
}
Notef("\nOverrides files created.\n\n")
Notef("\nOverrides files created.")
Notef("\n\n")

}

0 comments on commit 55b1920

Please sign in to comment.