Skip to content

Commit

Permalink
CR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Elad Ben-Israel committed Mar 2, 2021
1 parent 606c35f commit 62969e6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tools/pkglint/lib/rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down Expand Up @@ -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',
};
}

Expand Down

0 comments on commit 62969e6

Please sign in to comment.