From 247e55bc7f514bb7fbcfcedd2ab2578a65f5406a Mon Sep 17 00:00:00 2001 From: Bryan Oltman Date: Wed, 28 Jun 2023 16:59:42 -0400 Subject: [PATCH] chore(shorebird_cli): update 'app not found' message to better reflect collaborator support (#724) --- packages/shorebird_cli/lib/src/code_push_client_wrapper.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/shorebird_cli/lib/src/code_push_client_wrapper.dart b/packages/shorebird_cli/lib/src/code_push_client_wrapper.dart index c11aa4f5..41fefc36 100644 --- a/packages/shorebird_cli/lib/src/code_push_client_wrapper.dart +++ b/packages/shorebird_cli/lib/src/code_push_client_wrapper.dart @@ -63,12 +63,10 @@ class CodePushClientWrapper { Future getApp({required String appId}) async { final app = await maybeGetApp(appId: appId); if (app == null) { - // TODO(bryanoltman): improve this error message to indicate that a user - // may not have permission to view the app. logger.err( ''' Could not find app with id: "$appId". -Did you forget to run "shorebird init"?''', +This app may not exist or you may not have permission to view it.''', ); exit(ExitCode.software.code); }