File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed
Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ # Pre-push hook: runs quality checks before allowing push
3+ # Symlink this to .git/hooks/pre-push or run: ln -sf ../../scripts/ci/pre-push.sh .git/hooks/pre-push
4+
5+ set -e
6+
7+ echo " Running pre-push checks..."
8+ just check
9+
10+ echo " All checks passed."
Original file line number Diff line number Diff line change @@ -315,11 +315,7 @@ pub fn run_unify_apply(
315315 created_backup_id = Some ( backup_id) ;
316316 }
317317
318- let sort_mode = ctx
319- . config
320- . as_ref ( )
321- . map ( |c| c. unify . sort_dependencies )
322- . unwrap_or ( true ) ;
318+ let sort_mode = ctx. config . as_ref ( ) . map ( |c| c. unify . sort_dependencies ) . unwrap_or ( true ) ;
323319 let writer = ManifestWriter :: new ( ) . with_dependency_sort ( sort_mode) ;
324320
325321 if !plan. workspace_deps . is_empty ( ) {
You can’t perform that action at this time.
0 commit comments