@hydra-acp/cli 0.1.18 → 0.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +4 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -4082,6 +4082,10 @@ async function getPendingUpdate() {
|
|
|
4082
4082
|
notifier.check();
|
|
4083
4083
|
const u = notifier.update;
|
|
4084
4084
|
if (u && typeof u.latest === "string" && typeof u.current === "string" && u.latest !== u.current) {
|
|
4085
|
+
try {
|
|
4086
|
+
notifier.config?.set?.("update", u);
|
|
4087
|
+
} catch {
|
|
4088
|
+
}
|
|
4085
4089
|
cached = {
|
|
4086
4090
|
current: u.current,
|
|
4087
4091
|
latest: u.latest,
|