From 017cba26144a366c918f45e7bc6df5b1f34892ef Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Thu, 5 Sep 2024 21:30:58 -0400 Subject: [PATCH] Fix bug when displaying example errors We were trying to concatenate a list of nets, but "concatenate" expects a list of strings. --- M2/Macaulay2/m2/installPackage.m2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/M2/Macaulay2/m2/installPackage.m2 b/M2/Macaulay2/m2/installPackage.m2 index 483567d2cf..6c524cc7ba 100644 --- a/M2/Macaulay2/m2/installPackage.m2 +++ b/M2/Macaulay2/m2/installPackage.m2 @@ -771,7 +771,7 @@ installPackage Package := opts -> pkg -> ( generateExampleResults(pkg, rawDocumentationCache, exampleDir, exampleOutputDir, verboseLog, pkgopts, opts); if 0 < numExampleErrors then verboseLog concatenate apply(readDirectory exampleOutputDir, - file -> if match("\\.errors$", file) then stack { + file -> if match("\\.errors$", file) then toString stack { file, concatenate(width file : "*"), getErrors(exampleOutputDir | file)}); if not opts.IgnoreExampleErrors then checkForErrors pkg;