@andyqiu/codeforge 0.7.8 → 0.7.9
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/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -18903,7 +18903,7 @@ import * as https from "node:https";
|
|
|
18903
18903
|
// lib/version-injected.ts
|
|
18904
18904
|
function getInjectedVersion() {
|
|
18905
18905
|
try {
|
|
18906
|
-
const v = "0.7.
|
|
18906
|
+
const v = "0.7.9";
|
|
18907
18907
|
if (typeof v === "string" && /^\d+\.\d+\.\d+/.test(v)) {
|
|
18908
18908
|
return v;
|
|
18909
18909
|
}
|
|
@@ -19133,7 +19133,7 @@ var updateCheckerServer = async (ctx) => {
|
|
|
19133
19133
|
_updateCheckStarted = true;
|
|
19134
19134
|
setImmediate(() => {
|
|
19135
19135
|
safeAsync(PLUGIN_NAME19, "checkAndMaybeUpdate", async () => {
|
|
19136
|
-
const local = readLocalVersion();
|
|
19136
|
+
const local = readLastInstalledVersion() ?? readLocalVersion();
|
|
19137
19137
|
let npmResult = null;
|
|
19138
19138
|
try {
|
|
19139
19139
|
npmResult = await fetchLatestFromNpm({
|