diff --git a/CHANGELOG.md b/CHANGELOG.md index a04a14f..7d2d432 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# 1.3.3 +* Fix a small typo in the model generator. + # 1.3.2 * Restore `part` directives in generated models. @@ -22,4 +25,4 @@ of the old project names with the new one in `config/` YAML files, and also operates on the glob `config/**/*.yaml`. Changed the call to run `angel start` to run `dart bin/server.dart` instead, after an -`init` command. \ No newline at end of file +`init` command. diff --git a/lib/src/commands/make/model.dart b/lib/src/commands/make/model.dart index ffefd68..7053d41 100644 --- a/lib/src/commands/make/model.dart +++ b/lib/src/commands/make/model.dart @@ -73,8 +73,8 @@ class ModelCommand extends Command { } modelLib.body.addAll([ - new Code('part ${rc.snakeCase}.g.dart'), - new Code('part ${rc.snakeCase}.serializer.g.dart'), + new Code('part ${rc.snakeCase}.g.dart;'), + new Code('part ${rc.snakeCase}.serializer.g.dart;'), ]); modelLib.body.add(new Class((modelClazz) { diff --git a/pubspec.yaml b/pubspec.yaml index b1544b6..f27ae41 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ author: Tobe O description: Command-line tools for the Angel framework. homepage: https://github.com/angel-dart/angel_cli name: angel_cli -version: 1.3.2 +version: 1.3.3 dependencies: analyzer: ">=0.32.0" args: ^1.0.0