Skip to content

Commit 3e3a8fe

Browse files
qmuntalgopherbot
authored andcommitted
cmd/go/internal/script: Cmp() should not perform environment substitutions
This is an oversight from https://go-review.googlesource.com/c/go/+/419875, where script commands were refactored and factored out to a new package. For #27494. Change-Id: Ie606cab39f60859ee1da5165dcc94c8470c94325 Reviewed-on: https://go-review.googlesource.com/c/go/+/447575 Run-TryBot: Quim Muntal <[email protected]> Reviewed-by: Bryan Mills <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Auto-Submit: Bryan Mills <[email protected]> Reviewed-by: Than McIntosh <[email protected]>
1 parent e81263c commit 3e3a8fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/go/internal/script/cmds.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ func Cmp() Cmd {
188188
},
189189
},
190190
func(s *State, args ...string) (WaitFunc, error) {
191-
return nil, doCompare(s, true, args...)
191+
return nil, doCompare(s, false, args...)
192192
})
193193
}
194194

0 commit comments

Comments
 (0)