fix(cli): update old code from before breaking change
This commit is contained in:
parent
ba33da8d16
commit
2e4f4e0b2c
|
@ -47,8 +47,7 @@ export const cmd = new Command()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (from.startsWith('!')) {
|
if (from.startsWith('!')) {
|
||||||
//@ts-ignore try expand
|
return Contact.expand(from.slice(1))
|
||||||
return expand(from.slice(1))
|
|
||||||
}
|
}
|
||||||
return Contact.fromString(from)
|
return Contact.fromString(from)
|
||||||
})()
|
})()
|
||||||
|
|
Loading…
Reference in a new issue