mirror of
https://github.com/morluto/rea.git
synced 2026-11-20 05:32:44 +00:00
refactor(kernel): migrate the remaining SHA-256 hex digests to sha256Hex and move isRecord into src/kernel (#11571)
* refactor(kernel): migrate the remaining one-shot SHA-256 hex digests to sha256Hex * refactor(kernel): move isRecord into src/kernel and replace its inline copies (#11574) * fix(scripts): import isRecord from src/kernel in the managed manifest parser
This commit is contained in:
1 parent
9ecfb109e8
commit
b51ed4c3ec
157 files changed
+397
-589
No files matched your search
@@ -85,6 +85,7 @@ import {
|
||||
type SetupClient,
|
||||
} from "./SupportedClients.js";
|
||||
import { errorMessage } from "../kernel/errorMessage.js";
|
||||
import { isRecord } from "../kernel/isRecord.js";
|
||||
|
||||
export class ClientConfigurationCleanupRollbackFailure extends RegularFileCleanupFailure<string> {
|
||||
constructor(
|
||||
@@ -1138,9 +1139,7 @@ const registrationOwnershipBlocker = (
|
||||
const inheritsLauncher =
|
||||
effective !== undefined &&
|
||||
effective !== parsed &&
|
||||
typeof fragment === "object" &&
|
||||
fragment !== null &&
|
||||
!Array.isArray(fragment) &&
|
||||
isRecord(fragment) &&
|
||||
!Object.hasOwn(fragment, "command");
|
||||
if (Object.hasOwn(parsed.servers, name) && !inheritsLauncher)
|
||||
entries.push({ value: parsed.servers[name], paths: [client.configPath] });
|
||||
|
||||
Reference in new issue
Block a user