Skip to content

Commit

Permalink
Fail if no manifest provided to test
Browse files Browse the repository at this point in the history
Signed-off-by: Hasan Turken <turkenh@gmail.com>
  • Loading branch information
turkenh committed Oct 31, 2022
1 parent fe59151 commit 4497672
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package main

import (
"fmt"
"os"
"path/filepath"
"strings"
Expand Down Expand Up @@ -48,8 +47,7 @@ func main() {
examplePaths = append(examplePaths, filepath.Join(cd, filepath.Clean(e)))
}
if len(examplePaths) == 0 {
fmt.Println("No example files to test.")
return
kingpin.Fatalf("No manifest to test provided.")
}

setupPath := ""
Expand Down

0 comments on commit 4497672

Please sign in to comment.