Skip to content

Commit bbeb2bb

Browse files
Daniel BorowskiDaniel Borowski
authored andcommitted
fixed scala errors
1 parent 72ded5f commit bbeb2bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

language/scala/scala.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ func Run(files []string, stdin string) (string, string, error) {
1010

1111
args := append([]string{"scalac"}, files...)
1212
stdout, stderr, err := cmd.Run(workDir, args...)
13-
if err != nil {
13+
14+
if err != nil || stderr != "" {
1415
return stdout, stderr, err
1516
}
1617

0 commit comments

Comments
 (0)