File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -247,12 +247,12 @@ public function getFiles(): array
247
247
],
248
248
[
249
249
'scope ' => 'service ' ,
250
- 'destination ' => '/lib/services/{{service.name | caseDash }}.dart ' ,
250
+ 'destination ' => '/lib/services/{{service.name | caseSnake }}.dart ' ,
251
251
'template ' => 'flutter/lib/services/service.dart.twig ' ,
252
252
],
253
253
[
254
254
'scope ' => 'service ' ,
255
- 'destination ' => '/test/services/{{service.name | caseDash }}_test.dart ' ,
255
+ 'destination ' => '/test/services/{{service.name | caseSnake }}_test.dart ' ,
256
256
'template ' => 'flutter/test/services/service_test.dart.twig ' ,
257
257
],
258
258
[
Original file line number Diff line number Diff line change @@ -28,5 +28,5 @@ part 'permission.dart';
28
28
part 'role.dart';
29
29
part 'id.dart';
30
30
{% for service in spec .services %}
31
- part 'services/{{service .name | caseDash }}.dart';
31
+ part 'services/{{service .name | caseSnake }}.dart';
32
32
{% endfor %}
Original file line number Diff line number Diff line change @@ -31,5 +31,5 @@ part 'permission.dart';
31
31
part 'role.dart';
32
32
part 'id.dart';
33
33
{% for service in spec .services %}
34
- part 'services/{{service .name | caseDash }}.dart';
34
+ part 'services/{{service .name | caseSnake }}.dart';
35
35
{% endfor %}
You can’t perform that action at this time.
0 commit comments