Closed grahamc closed 8 years ago
In execSeries, they return stdout and stderr to the exec, but those arguments are ignored here: https://github.com/kevva/bin-build/blob/ab490e99df9e62e1245ba2274fad6a2f4fe2efb9/index.js#L122
execSeries
stdout
stderr
In order to debug a failing build and see the actual output, I had to console.log those outputs. Somehow passing those up to the callback would allow projects which depend on this package provide better error messages.
Fixed in https://github.com/kevva/bin-build/commit/91863b962e8cb58af6a3a97142a54dbe4d85143f. You'll get both res.stdout and res.stderr now.
res.stdout
res.stderr
In
execSeries
, they returnstdout
andstderr
to the exec, but those arguments are ignored here: https://github.com/kevva/bin-build/blob/ab490e99df9e62e1245ba2274fad6a2f4fe2efb9/index.js#L122In order to debug a failing build and see the actual output, I had to console.log those outputs. Somehow passing those up to the callback would allow projects which depend on this package provide better error messages.