We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 068d4ce commit 0e6248fCopy full SHA for 0e6248f
internal/project/projectdata/library.go
@@ -80,10 +80,10 @@ func InitializeForLibrary(project project.Type) {
80
81
// Write the index data to file
82
libraryIndexFile, err := libraryIndexPath.Create()
83
- defer libraryIndexFile.Close()
84
if err != nil {
85
panic(err)
86
}
+ defer libraryIndexFile.Close()
87
if _, err := io.Copy(libraryIndexFile, httpResponse.Body); err != nil {
88
89
0 commit comments