Skip to content

Commit

Permalink
Allow running format in non-project-root
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnbastiaan committed Feb 7, 2025
1 parent 33bedd2 commit 5bb8af5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nix/bin/format
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
ROOT=$(git rev-parse --show-toplevel)
cd "${ROOT}" || exit 1

echo "Formatting Cabal files.."
"${ROOT}"/.github/scripts/cabal-gild.sh
Expand Down

0 comments on commit 5bb8af5

Please sign in to comment.