fix(cli): update old code from before breaking change

This commit is contained in:
Julien Oculi 2024-04-04 17:05:12 +02:00
parent ba33da8d16
commit 2e4f4e0b2c

View file

@ -47,8 +47,7 @@ export const cmd = new Command()
})
}
if (from.startsWith('!')) {
//@ts-ignore try expand
return expand(from.slice(1))
return Contact.expand(from.slice(1))
}
return Contact.fromString(from)
})()