We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
filesToRemove
1 parent 51eb487 commit a961e27Copy full SHA for a961e27
go/extractor/project/project.go
@@ -110,7 +110,7 @@ func checkDirsNested(inputDirs []string) (string, bool) {
110
}
111
112
// A list of files we created that should be removed after we are done.
113
-var filesToRemove []string
+var filesToRemove []string = []string{}
114
115
// Try to initialize a go.mod file for projects that do not already have one.
116
func initGoModForLegacyProject(path string) {
@@ -148,7 +148,7 @@ func RemoveTemporaryExtractorFiles() {
148
149
150
151
- filesToRemove = nil
+ filesToRemove = []string{}
152
153
154
// Find all go.work files in the working directory and its subdirectories
0 commit comments