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.
1 parent 1b21288 commit eb7bad8Copy full SHA for eb7bad8
misc.go
@@ -6,6 +6,7 @@ import (
6
"log"
7
"os"
8
"os/exec"
9
+ "strings"
10
)
11
12
func executeCmd(command string, args ...string) {
@@ -35,7 +36,12 @@ func executeCmd(command string, args ...string) {
35
36
stdErrScanner := bufio.NewScanner(stdErr)
37
go func() {
38
for stdErrScanner.Scan() {
- fmt.Printf("%s\n", stdErrScanner.Text())
39
+
40
+ txt := stdErrScanner.Text()
41
42
+ if !strings.Contains(txt, "no buildable Go source files in") {
43
+ fmt.Printf("%s\n", txt)
44
+ }
45
}
46
}()
47
0 commit comments