fix(memory): use async fs APIs to satisfy maintainability gate

This commit is contained in:
Tam Nhu Tran committed 2026-02-23 23:29:22 +07:00
1 parent e2623e632c
commit c6c44d0341
5 files changed
+97 -70

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@ export async function handleCreate(ctx: CommandContext, args: string[]): Promise
try {
// Create instance directory
console.log(info(`Creating profile: ${profileName}`));
const instancePath = ctx.instanceMgr.ensureInstance(profileName);
const instancePath = await ctx.instanceMgr.ensureInstance(profileName);
// Create/update profile entry based on config mode
if (isUnifiedMode()) {