@runeya/runeya 2.0.87 → 2.0.88
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/agent/index.js +70 -12
- package/agent/index.js.map +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/{src-SU4ZJHR7.js → src-5X4QUDVE.js} +3 -3
- package/src-5X4QUDVE.js.map +1 -0
- package/src-SU4ZJHR7.js.map +0 -1
package/index.js
CHANGED
|
@@ -279,7 +279,7 @@ async function main() {
|
|
|
279
279
|
ensureNodeBinOnPath();
|
|
280
280
|
await ensureUserBinsOnPath();
|
|
281
281
|
if (!isPullEnv) stampConsole();
|
|
282
|
-
const { createLocalServer, pullEnv, PullEnvError, registerInstance } = await import("./src-
|
|
282
|
+
const { createLocalServer, pullEnv, PullEnvError, registerInstance } = await import("./src-5X4QUDVE.js");
|
|
283
283
|
if (isPullEnv) {
|
|
284
284
|
if (!serviceArg) {
|
|
285
285
|
console.error("Error: --service (-s) is required with --pull-env");
|
package/package.json
CHANGED
|
@@ -3518,7 +3518,7 @@ var serviceRouter = router({
|
|
|
3518
3518
|
remote: service.git?.remote,
|
|
3519
3519
|
checkReachability: input.checkReachability
|
|
3520
3520
|
});
|
|
3521
|
-
const { exists: exists4, actualRemote, unreachable, resolvedCwd, unresolvedVars } = agentResult;
|
|
3521
|
+
const { exists: exists4, actualRemote, remoteMatches, unreachable, resolvedCwd, unresolvedVars } = agentResult;
|
|
3522
3522
|
if (unresolvedVars.length > 0) {
|
|
3523
3523
|
return { exists: false, canClone: false, unresolvedVars, resolvedCwd, gitMismatch: null };
|
|
3524
3524
|
}
|
|
@@ -3527,7 +3527,7 @@ var serviceRouter = router({
|
|
|
3527
3527
|
if (exists4 && service.git?.remote && !canClone) {
|
|
3528
3528
|
if (actualRemote === null) {
|
|
3529
3529
|
gitMismatch = { actual: null, configured: service.git.remote };
|
|
3530
|
-
} else if (actualRemote !== service.git.remote) {
|
|
3530
|
+
} else if (remoteMatches === void 0 ? actualRemote !== service.git.remote : !remoteMatches) {
|
|
3531
3531
|
gitMismatch = { actual: actualRemote, configured: service.git.remote };
|
|
3532
3532
|
} else if (unreachable) {
|
|
3533
3533
|
gitMismatch = { actual: actualRemote, configured: service.git.remote, unreachable: true };
|
|
@@ -18348,4 +18348,4 @@ export {
|
|
|
18348
18348
|
pullEnv,
|
|
18349
18349
|
registerInstance
|
|
18350
18350
|
};
|
|
18351
|
-
//# sourceMappingURL=src-
|
|
18351
|
+
//# sourceMappingURL=src-5X4QUDVE.js.map
|