From 68a8e830635b2154f4dd1babf87cf3e57b042de0 Mon Sep 17 00:00:00 2001 From: "lijiacheng.ljc" Date: Tue, 16 Jan 2024 11:01:43 +0800 Subject: [PATCH] ci(cov): skip unreachable code --- src/injector.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/injector.ts b/src/injector.ts index 4cb07ca..5f0f846 100644 --- a/src/injector.ts +++ b/src/injector.ts @@ -468,6 +468,7 @@ export class Injector { return creator.instances.values().next().value; } + /* istanbul ignore next */ throw noInstancesInCompletedCreatorError(ctx.token); }