Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kondoumh committed Apr 16, 2020
1 parent 4f75501 commit 0c2f6b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/cmd_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ func LongUsage(s string) string {
return heredoc.Doc(s)
}

// CheckProject will check project name is not empty
func CheckProject(projectName string) {
if projectName == "" {
fmt.Fprintln(os.Stderr, "Project name not set. execute `sbgraph project -p <project name>`")
Expand Down

0 comments on commit 0c2f6b1

Please sign in to comment.