Skip to content

Commit

Permalink
feat: set exit code to 1 when detecting cycles in melos list (#523)
Browse files Browse the repository at this point in the history
Fixes #514
  • Loading branch information
blaugold committed May 15, 2023
1 parent 3d76097 commit e2863e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/melos/lib/src/commands/list.dart
Expand Up @@ -272,6 +272,7 @@ mixin _ListMixin on _Melos {
logger
.stdout('[ ${cycle.map((package) => package.name).join(' -> ')} ]');
}
exitCode = 1;
}
}
}

0 comments on commit e2863e6

Please sign in to comment.