@hydra-acp/cli 0.1.20 → 0.1.21
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 +1 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -4076,10 +4076,8 @@ async function getPendingUpdate() {
|
|
|
4076
4076
|
const mod = await import("update-notifier");
|
|
4077
4077
|
const updateNotifier = mod.default ?? mod;
|
|
4078
4078
|
const notifier = updateNotifier({
|
|
4079
|
-
pkg: { name: PKG_NAME, version: HYDRA_VERSION }
|
|
4080
|
-
updateCheckInterval: 1e3 * 60 * 60 * 24
|
|
4079
|
+
pkg: { name: PKG_NAME, version: HYDRA_VERSION }
|
|
4081
4080
|
});
|
|
4082
|
-
notifier.check();
|
|
4083
4081
|
const u = notifier.update;
|
|
4084
4082
|
if (u && typeof u.latest === "string" && typeof u.current === "string" && u.latest !== u.current) {
|
|
4085
4083
|
try {
|