(elem ...string)
| 34 | ) |
| 35 | |
| 36 | func yarnWorkingDirectoryArg(elem ...string) string { |
| 37 | return fmt.Sprintf("--cwd=%s", filepath.Join(elem...)) |
| 38 | } |
| 39 | |
| 40 | func execYarn(stdout, stderr io.Writer, args ...string) error { |
| 41 | _, err := sh.Exec(nil, stdout, stderr, "yarn", args...) |