refactor: base 'already local' guard on daemonUrl only

Match the codebase's isRemote check (!!config.daemonUrl). An orphaned
authUrl without daemonUrl is already local from the daemon's perspective,
so the guard should only check daemonUrl.
This commit is contained in:
redshift
2026-08-14 19:17:50 +01:00
parent e7d9451557
commit 05a19bec16
+1 -1
View File
@@ -593,7 +593,7 @@ program
.action(async () => {
const config = await loadConfig();
if (!config.daemonUrl && !config.authUrl) {
if (!config.daemonUrl) {
console.log("Already in local mode — no remote daemon URL is configured.");
return;
}