File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ func (g *gobco) findInModule(dir string) (moduleRoot, moduleRel string) {
233233
234234// prepareTmp copies the source files to the temporary directory.
235235//
236- // Some of these files will later be overwritten by gobco.instrumenter .
236+ // Later, gobco.instrumenter will overwrite some of these files .
237237func (g * gobco ) prepareTmp () {
238238 if g .statsFilename != "" {
239239 var err error
@@ -266,15 +266,15 @@ func (g *gobco) instrument() bool {
266266 nil ,
267267 }
268268
269- any := false
269+ found := false
270270 for _ , arg := range g .args {
271271 instrDst := g .file (arg .instrDir )
272272 if in .instrument (arg .argDir , arg .instrFile , instrDst ) {
273- any = true
273+ found = true
274274 g .verbosef ("Instrumented %s to %s" , arg .arg , instrDst )
275275 }
276276 }
277- return any
277+ return found
278278}
279279
280280func (g * gobco ) runGoTest () {
You can’t perform that action at this time.
0 commit comments