diff --git a/build/ci.go b/build/ci.go index 983d6c0b17..5838d6b3ee 100644 --- a/build/ci.go +++ b/build/ci.go @@ -380,9 +380,6 @@ func hashAllSourceFiles() (map[string]common.Hash, error) { } func hashSourceFiles(files []string) (map[string]common.Hash, error) { - if len(files) == 0 { - return hashAllSourceFiles() - } res := make(map[string]common.Hash) for _, filePath := range files { f, err := os.OpenFile(filePath, os.O_RDONLY, 0666)