Close opened paths
Test: m nothing Change-Id: I7fcc8e2fdbca1cd231ff1e72b02156f12078072b
This commit is contained in:
@@ -713,6 +713,7 @@ func GetMainClassInManifest(c Config, filepath string) (string, error) {
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
defer file.Close()
|
||||
scanner := bufio.NewScanner(file)
|
||||
for scanner.Scan() {
|
||||
line := scanner.Text()
|
||||
|
Reference in New Issue
Block a user