Skip to content

Commit

Permalink
first draft of the work. still need ordering, switching all GetYarnDe…
Browse files Browse the repository at this point in the history
…pendencies to use the function GetYarnDependencies2 (and then switch the names) and last- fix all calls in tests.
  • Loading branch information
eranturgeman committed Jul 23, 2023
1 parent 5b9cca7 commit cbf2190
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/utils/yarn.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ func runYarnInfoOrList(executablePath string, srcPath string, v2AndAbove bool) (
err = command.Run()
outResult = strings.TrimSpace(outBuffer.String())
errResult = errBuffer.String()

if err != nil {
// urfave/cli (aka codegangsta) exits when an ExitError is returned, so if it's an ExitError we'll convert it to a regular error.
if _, ok := err.(*exec.ExitError); ok {
Expand Down

0 comments on commit cbf2190

Please sign in to comment.