diff --git a/lib/src/commands/init.dart b/lib/src/commands/init.dart index c6569baf..f89a544e 100644 --- a/lib/src/commands/init.dart +++ b/lib/src/commands/init.dart @@ -64,7 +64,7 @@ class InitCommand extends Command { ..write(cyan.wrap('hot-reloading')) ..write('), run ') ..write(magenta.wrap('`dart --observe bin/dev.dart`')) - ..writeln(' in your terminal') + ..writeln(' in your terminal.') ..writeln() ..writeln('Find more documentation about Angel:') ..writeln(' * https://angel-dart.github.io') @@ -159,7 +159,9 @@ class InitCommand extends Command { var gitDir = new Directory.fromUri(projectDir.uri.resolve(".git")); if (await gitDir.exists()) await gitDir.delete(recursive: true); } catch (e) { - print(red.wrap("$ballot Could not initialize Angel project.")); + if (e is! String) { + print(red.wrap("$ballot Could not initialize Angel project.")); + } rethrow; } }