Skip to content

Commit 78f68ae

Browse files
author
XUANHE ZHOU
committed
exec.Command returns a cmd
1 parent e1a369b commit 78f68ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

misc/test/examples_test.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,8 @@ func TestAccAwsTsS3LambdaCopyZip(t *testing.T) {
504504
}
505505

506506
func TestAccAwsTsServerlessRaw(t *testing.T) {
507-
err := exec.Command("dotnet publish", "app")
507+
cmd := exec.Command("dotnet publish", "app")
508+
err := cmd.Run()
508509
if err != nil {
509510
fmt.Printf("err: %v", err)
510511
return

0 commit comments

Comments
 (0)