Merge "Close opened paths"
This commit is contained in:
@@ -716,6 +716,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