From 62969e62130dd46d14f73c48fec71f7625687b07 Mon Sep 17 00:00:00 2001 From: Elad Ben-Israel Date: Tue, 2 Mar 2021 13:15:16 +0200 Subject: [PATCH] CR comments --- tools/pkglint/lib/rules.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tools/pkglint/lib/rules.ts b/tools/pkglint/lib/rules.ts index c4e04f326466d..2e0403eb292bd 100644 --- a/tools/pkglint/lib/rules.ts +++ b/tools/pkglint/lib/rules.ts @@ -704,9 +704,8 @@ export class JSIIGolangTarget extends ValidationRule { const moduleName = cdkModuleName(pkg.json.name); - // See: https://github.com/aws/jsii/blob/master/docs/configuration.md#configuring-python - - expectJSON(this.name, pkg, 'jsii.targets.go.moduleName', moduleName.goRootModuleName); + // See: https://aws.github.io/jsii/user-guides/lib-author/configuration/targets/go + expectJSON(this.name, pkg, 'jsii.targets.go.moduleName', moduleName.goRepositoryName); } } @@ -884,7 +883,7 @@ function cdkModuleName(name: string) { distName: `aws-cdk.${pythonName}`, module: `aws_cdk.${pythonName.replace(/-/g, '_')}`, }, - goRootModuleName: 'github.com/aws/aws-cdk-go', + goRepositoryName: 'github.com/aws/aws-cdk-go', }; }