mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 17:55:08 +01:00
Fix upgrade logic.
This commit is contained in:
parent
5b1eb8bec2
commit
f9f3a5bcab
@ -33,7 +33,7 @@ async function sendTelemetry(action) {
|
|||||||
os: `${os.type()} (${os.version()})`,
|
os: `${os.type()} (${os.version()})`,
|
||||||
docker: isDocker(),
|
docker: isDocker(),
|
||||||
ci: isCI,
|
ci: isCI,
|
||||||
upgrade: json.version || false,
|
upgrade: json.version !== undefined && json.version !== pkg.version,
|
||||||
};
|
};
|
||||||
|
|
||||||
await retry(
|
await retry(
|
||||||
|
Loading…
Reference in New Issue
Block a user