INNER CODE UNIT · Go

err

buildpacks-community/kpack · cmd/build-waiter/main.go:43

		err := copy(*to)
		if err != nil {
			exitWithError(err.Error(), *errFile)
		}
	}
}

func wait(waitFile, doneFile, execute string) error {
	if execute == "" {
		return errors.New("need -execute with -mode=wait")
	}

	fileExists, err := exists(doneFile)
	if err != nil {
		return err
	}

	if fileExists {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…