From a48c878927318a60f8ae1c81268db2eaf3f60c09 Mon Sep 17 00:00:00 2001 From: "D. Ben Knoble" Date: Sat, 23 Nov 2024 09:02:43 -0500 Subject: [PATCH] asymptote: remove display side-effect When building the documentation, the call to asymptote outputs the pwd and the checksum; this interrupts the new progress bar mechanism in recent Racket versions. Silence it by removing the display entirely. (Perhaps we should provide a function to get the hash or document how it is computed? The function could also accept a side-channel to communicate the hash to, such as a box. Modifying it to return multiple values would be a breaking change.) --- asymptote.rkt | 2 -- 1 file changed, 2 deletions(-) diff --git a/asymptote.rkt b/asymptote.rkt index 226c19a0d..c50c6135d 100644 --- a/asymptote.rkt +++ b/asymptote.rkt @@ -23,8 +23,6 @@ [pdf-path (build-path asymptote-dir pdf-name)] [svg-name (string-append md ".svg")] [svg-path (build-path asymptote-dir svg-name)]) - (display (current-directory)) (display md) (newline) - ;; create dir if neccessary (unless (directory-exists? asymptote-dir) (make-directory asymptote-dir))