Skip to content

Commit

Permalink
Merge pull request #219 from hashicorp/fix-python-dash-bug
Browse files Browse the repository at this point in the history
fix: remove dash from python dist and module name
  • Loading branch information
ansgarm authored May 24, 2022
2 parents 724b520 + dcbc974 commit 44700de
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,14 @@ export class CdktfProviderProject extends cdk.JsiiProject {
name: `@${namespace}/provider-${providerName}`,
},
python: {
distName: `${namespace}-cdktf-provider-${providerName}`,
module: `${namespace}_cdktf_provider_${providerName}`,
distName: `${namespace}-cdktf-provider-${providerName.replace(
/-/gi,
"_"
)}`,
module: `${namespace}_cdktf_provider_${providerName.replace(
/-/gi,
"_"
)}`,
},
publishToNuget: {
dotNetNamespace: nugetName,
Expand Down

0 comments on commit 44700de

Please sign in to comment.