fix(cli): preserve unsupported historical-source imports (#795)
This commit is contained in:
@@ -163,6 +163,8 @@ export const importReferenceSource = async (
|
||||
if (!readResult.ok) {
|
||||
const error = readResult.error;
|
||||
if (error.code === "cancelled") return err(cancelled());
|
||||
if (error.code === "unsupported")
|
||||
return err(failure("unsupported", error.message));
|
||||
return err(failure("io", error.message));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user