Skip to content

Commit 2ff81c2

Browse files
swift warnings
1 parent 07658ad commit 2ff81c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

language/swift/swift.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ func Run(files []string, stdin string) (string, string, error, string) {
1111
binName := "a.out"
1212

1313
sourceFiles := util.FilterByExtension(files, "swift")
14-
args := append([]string{"swiftc", "-o", binName}, sourceFiles...)
14+
args := append([]string{"swiftc", "-suppress-warnings", "-o", binName}, sourceFiles...)
1515
stdout, stderr, err, duration := cmd.Run(workDir, args...)
1616
if err != nil || stderr != "" {
1717
return stdout, stderr, err, duration

0 commit comments

Comments
 (0)