Skip to content

Commit

Permalink
cmd/probs: drop a redundant message
Browse files Browse the repository at this point in the history
Don't repeat nearly identical information:

  $ bbi nonmem probs one two
  currently only supports scanning one directory
  Error: project only supports specifying one directory
  • Loading branch information
kyleam committed Aug 15, 2024
1 parent ba94b93 commit e759db3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ package cmd

import (
"errors"
"fmt"
"os"
"path/filepath"

Expand Down Expand Up @@ -47,8 +46,6 @@ func probs(_ *cobra.Command, args []string) error {
case 1:
dirPath = args[0]
default:
fmt.Println("currently only supports scanning one directory")

return errors.New("project only supports specifying one directory")
}

Expand Down

0 comments on commit e759db3

Please sign in to comment.