diff options
| author | Shulhan <ms@kilabit.info> | 2023-10-14 10:35:28 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-10-14 10:35:28 +0700 |
| commit | 46bd8b68dc8c2662618af11e3cf6a69b3194d29d (patch) | |
| tree | 8e336ea5929b1986ea2c424eb9bcd49864c8514e | |
| parent | aa5ec477dceb0283fc1eca05eb4fdd0c8b7d41a1 (diff) | |
| download | ciigo-46bd8b68dc8c2662618af11e3cf6a69b3194d29d.tar.xz | |
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.
| -rw-r--r-- | ciigo.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |
