Skip to content

Commit

Permalink
feat: set exit code to 1 when detecting cycles in melos list
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 c140be5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/melos/lib/src/commands/list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ mixin _ListMixin on _Melos {
logger
.stdout('[ ${cycle.map((package) => package.name).join(' -> ')} ]');
}
exitCode = 1;
}
}
}

0 comments on commit c140be5

Please sign in to comment.