Skip to content

Commit b9504f6

Browse files
authored
chore: suppress a type error (#31751)
Not sure how this is not causing a compilation error at CDK build time, but it's a red underline in my IDE and a compilation error in the new CLI repo. Fixing it. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent af89640 commit b9504f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/@aws-cdk/node-bundle/src/api/bundle.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ export class Bundle {
414414
throw new Error(`Multiple versions detected for external dependency: ${name} (${Array.from(versions).join(',')})`);
415415
}
416416

417-
return versions.values().next().value;
417+
return versions.values().next().value!;
418418
}
419419

420420
private closestPackagePath(fdp: string): string {

0 commit comments

Comments
 (0)