remove unused code path

This commit is contained in:
Jared Wasinger 2024-08-12 06:26:55 -07:00
parent b398df9e3b
commit 726b00856e

View file

@ -380,9 +380,6 @@ func hashAllSourceFiles() (map[string]common.Hash, error) {
} }
func hashSourceFiles(files []string) (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) res := make(map[string]common.Hash)
for _, filePath := range files { for _, filePath := range files {
f, err := os.OpenFile(filePath, os.O_RDONLY, 0666) f, err := os.OpenFile(filePath, os.O_RDONLY, 0666)