From 7d287e28ed22aa0c64a61354fccc3e58ddac275f Mon Sep 17 00:00:00 2001 From: Allan Chain <36528777+AllanChain@users.noreply.github.com> Date: Sat, 20 Jul 2024 18:45:48 +0800 Subject: [PATCH] style: lint files --- README.md | 10 +++++----- scripts/build.mjs | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index fc24d22..8528f98 100644 --- a/README.md +++ b/README.md @@ -48,25 +48,25 @@ This plugin focusing on the following workflow: The main logic of the merging process is demonstrated by the following plot: ``` -Before: After: +Before: After: ==================== ==================== ItemID A (preprint) ItemID B -------------------- -------------------- -Metadata A: Metadata A: +Metadata A: Metadata A: Date added (A) Date added (B) URL (A) URL (A) ... ... -------------------- \ -------------------- -PDF attachment a* ----------\ PDF attachment a* +PDF attachment a* ----------\ PDF attachment a* ... ----------/ PDF attachment b ==================== / Web Link attachment ItemID B (published) ... -------------------- ==================== -Metadata B +Metadata B Date added (B) * means prefered PDF URL (B) ... --------------------- +-------------------- PDF attachment b* ... ==================== diff --git a/scripts/build.mjs b/scripts/build.mjs index c12682f..fe9a51e 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -146,7 +146,7 @@ function prepareUpdateJson() { } const updateLink = - config.updateLink ?? isPreRelease + (config.updateLink ?? isPreRelease) ? `${config.releasePage}/download/v${version}/${name}.xpi` : `${config.releasePage}/latest/download/${name}.xpi`;