Skip to content

Commit 8ea1beb

Browse files
authored
Replace all hyphens in adapter name with underscore (#730)
1 parent 7f56a91 commit 8ea1beb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • scripts/generator-adapter/generators/app/templates/src

scripts/generator-adapter/generators/app/templates/src/index.ts.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const adapter = new Adapter({
99
<% } -%><%= ' ' %> defaultEndpoint: <%= defaultEndpoint.normalizedEndpointName %>.name,
1010
<% if (includeComments) { -%>
1111
// Adapter name
12-
<% } -%><%= ' ' %> name: '<%= adapterName.toUpperCase().replace('-', '_') %>',
12+
<% } -%><%= ' ' %> name: '<%= adapterName.toUpperCase().replaceAll('-', '_') %>',
1313
<% if (includeComments) { -%>
1414
// Adapter configuration (environment variables)
1515
<% } -%><%= ' ' %> config,

0 commit comments

Comments
 (0)