Skip to content

Commit

Permalink
fix: fmt script go back to correct directory
Browse files Browse the repository at this point in the history
Signed-off-by: Martichou <m@rtin.fyi>
  • Loading branch information
Martichou committed Jun 24, 2024
1 parent a286591 commit 1e007db
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fmt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ if git diff --name-only HEAD | grep '^app/legacy/src/' >/dev/null; then

# Run your commands
pnpm lint --fix

cd ../../..
else
echo "No changes detected in /app/legacy/src."
fi
Expand All @@ -26,6 +28,8 @@ if git diff --name-only HEAD | grep '^app/main/src/' >/dev/null; then

# Run your commands
pnpm lint --fix

cd ../../..
else
echo "No changes detected in /app/main/src."
fi

0 comments on commit 1e007db

Please # to comment.