Skip to content

Commit

Permalink
feat(nx-flutter): include . character when snake casing a project n…
Browse files Browse the repository at this point in the history
…ame to match dart conventions
  • Loading branch information
tinesoft committed Aug 6, 2024
1 parent 7d3c35e commit 06e7cde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nx-flutter/src/utils/flutter-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function buildFlutterCreateOptions(options: NormalizedSchema) {
const keyValueParams = [
{
key: 'project-name',
value: options.projectName.replace(new RegExp('-', 'g'), '_'),
value: options.projectName.replace(new RegExp('[-.]', 'g'), '_'),
},
{ key: 'org', value: options.org },
{ key: 'description', value: quote(options.description) },
Expand Down

0 comments on commit 06e7cde

Please sign in to comment.