chore: fix formatting
This commit is contained in:
parent
754481716e
commit
7edc464b82
1 changed files with 8 additions and 1 deletions
|
|
@ -101,7 +101,14 @@ export function loadAgentIdentity(workspace: string): AgentIdentity | null {
|
|||
try {
|
||||
const content = fs.readFileSync(identityPath, "utf-8");
|
||||
const parsed = parseIdentityMarkdown(content);
|
||||
if (!parsed.name && !parsed.emoji && !parsed.theme && !parsed.creature && !parsed.vibe && !parsed.avatar) {
|
||||
if (
|
||||
!parsed.name &&
|
||||
!parsed.emoji &&
|
||||
!parsed.theme &&
|
||||
!parsed.creature &&
|
||||
!parsed.vibe &&
|
||||
!parsed.avatar
|
||||
) {
|
||||
return null;
|
||||
}
|
||||
return parsed;
|
||||
|
|
|
|||
Loading…
Reference in a new issue