@steve31415/baselib 2.4.2 → 2.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -209,7 +209,10 @@ export async function runDeploy(options) {
209
209
  await evidence.save(`gate-${index}.log`, result.stdout + result.stderr);
210
210
  timer.record(`gate:${gate}`, Date.now() - gateStart);
211
211
  if (result.code !== 0) {
212
- const tail = (result.stderr.trim() || result.stdout.trim()).slice(-1500);
212
+ // Quote the tail of BOTH streams: test runners put the failing spec on
213
+ // stdout and only build/server noise on stderr, so stderr alone can
214
+ // hide which test failed. stderr last, so it survives the cut.
215
+ const tail = [result.stdout.trim(), result.stderr.trim()].filter(Boolean).join('\n').slice(-1500);
213
216
  throw new Error(`gate failed: ${gate}\n${tail}`);
214
217
  }
215
218
  log(`gate passed: ${gate}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steve31415/baselib",
3
- "version": "2.4.2",
3
+ "version": "2.4.3",
4
4
  "description": "Plasticine new-world shared platform library: logging, auth, service-to-service auth, db, HTTP, sync, app updates",
5
5
  "type": "module",
6
6
  "license": "MIT",