Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 56b6de58 authored by Colin Cross's avatar Colin Cross Committed by Gerrit Code Review
Browse files

Merge changes I056c49e6,I994402cb

* changes:
  Fix OutputPath.InSameDir example
  Fix go vet error
parents 19bc60ab 41b4676f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -188,8 +188,8 @@ func (context *bazelContext) issueBazelCommand(command string, labels []string,
	bazelCmd.Dir = context.workspaceDir
	bazelCmd.Env = append(os.Environ(), "HOME="+context.homeDir, pwdPrefix())

	var stderr bytes.Buffer
	bazelCmd.Stderr = &stderr
	stderr := &bytes.Buffer{}
	bazelCmd.Stderr = stderr

	if output, err := bazelCmd.Output(); err != nil {
		return "", fmt.Errorf("bazel command failed. command: [%s], error [%s]", bazelCmd, stderr)
+1 −1
Original line number Diff line number Diff line
@@ -1260,7 +1260,7 @@ func ExampleOutputPath_ReplaceExtension() {
	// boot.art boot.oat
}

func ExampleOutputPath_FileInSameDir() {
func ExampleOutputPath_InSameDir() {
	ctx := &configErrorWrapper{
		config: TestConfig("out", nil, "", nil),
	}