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 d5e1191 commit e65a99eCopy full SHA for e65a99e
cmd/goscript.go
@@ -53,7 +53,7 @@ func warn(s string) {
53
}
54
55
func isource(dst , src string) (refFiles []string) {
56
- refFiles = make([]string, 1)
+ refFiles = make([]string, 0)
57
file1, err := os.Open(src, os.O_RDONLY, 0)
58
if err != nil {
59
error(fmt.Sprintf("Can't open %s", src))
0 commit comments