remove invalid return from thenable
This commit is contained in:
parent
d23c048304
commit
ef16ed1d4b
@ -497,7 +497,7 @@ export default class Reference extends ReferenceBase {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
return throw new Error("Cannot read property 'then' of undefined.");
|
throw new Error("Cannot read property 'then' of undefined.");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -512,7 +512,7 @@ export default class Reference extends ReferenceBase {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
return throw new Error("Cannot read property 'catch' of undefined.");
|
throw new Error("Cannot read property 'catch' of undefined.");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user