Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
check scope exists
  • Loading branch information
lesnitsky committed Mar 1, 2024
commit 13f791c21e269acf195c304e1c210409bda45f78
4 changes: 4 additions & 0 deletions packages/globe_cli/lib/src/commands/build_logs_command.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ class BuildLogsCommand extends BaseGlobeCommand {
Future<int> run() async {
requireAuth();

if (!scope.hasScope()) {
logger.err('Not a Globe project.');
}

final validated = await scope.validate();
final deploymentId = argResults!['deployment'] as String?;

Expand Down