From 46bd8b68dc8c2662618af11e3cf6a69b3194d29d Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sat, 14 Oct 2023 10:35:28 +0700 Subject: all: make "convert" to always force Previously, the convert command only check if the markup file is newer than the output file. If the template file updated, it will not re-convert the markup file. This changes fix this by always convert the markup files regarding their output modification times. --- ciigo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ciigo.go b/ciigo.go index d782a88..25250da 100644 --- a/ciigo.go +++ b/ciigo.go @@ -66,7 +66,7 @@ func Convert(opts *ConvertOptions) (err error) { return fmt.Errorf(`%s: %w`, logp, err) } - converter.convertFileMarkups(fileMarkups, false) + converter.convertFileMarkups(fileMarkups, true) return nil } -- cgit v1.3