fix(shorebird_cli): remove reference to deleted account create command (#1204)
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user