fix(shorebird_cli): remove reference to deleted account create command (#1204)

This commit is contained in:
Bryan Oltman
2023-09-01 12:24:07 -04:00
committed by GitHub
parent 33bbe91937
commit 2da950246d
2 changed files with 3 additions and 2 deletions
@@ -26,13 +26,14 @@ class LoginCommand extends ShorebirdCommand {
);
return ExitCode.success.code;
} on UserNotFoundException catch (error) {
final consoleUri = Uri.https('console.shorebird.dev');
logger
..err(
'''
We could not find a Shorebird account for ${error.email}.''',
)
..info(
"""If you have not yet created an account, you can do so by running "${lightCyan.wrap('shorebird account create')}". If you believe this is an error, please reach out to us via Discord, we're happy to help!""",
"""If you have not yet created an account, you can do so at "${link(uri: consoleUri)}". If you believe this is an error, please reach out to us via Discord, we're happy to help!""",
);
return ExitCode.software.code;
} catch (error) {
@@ -80,7 +80,7 @@ void main() {
() => logger.err('We could not find a Shorebird account for $email.'),
).called(1);
verify(
() => logger.info(any(that: contains('shorebird account create'))),
() => logger.info(any(that: contains('console.shorebird.dev'))),
).called(1);
});