سامانه صدور فاکتور و حسابداری
Modify error message formatting in QA workflow
Limit error messages to the first 12 lines in output.
davoodmehraban89 committed
Oct 1, 2026 at 11:34 UTC
d0fd15c4d6baa391dd7f0b537672436134007414
1 file changed
+1
-1
.github/workflows/qa.yml
+1
-1
@@ -163,7 +163,7 @@ jobs:
163
else if (res.status === 'skipped') out.push('- SKIPPED: ' + sp.title);
164
else {
165
out.push('- FAIL: ' + sp.title);
166
- (res.errors || []).forEach((e) => out.push(' - ' + strip(e.message).split('\n')[0]));
166
+ (res.errors || []).forEach((e) => out.push(' - ' + strip(e.message).split('\n').slice(0, 12).join(' / ')));
167
}
168
})));
169
(s.suites || []).forEach(walk);