MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / yarnWorkingDirectoryArg

Function yarnWorkingDirectoryArg

tools/mage/js.go:36–38  ·  view source on GitHub ↗
(elem ...string)

Source from the content-addressed store, hash-verified

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

Callers 2

DepsMethod · 0.85
runYarnVMethod · 0.85

Calls 1

JoinMethod · 0.65

Tested by

no test coverage detected