Skip to content
This repository was archived by the owner on Oct 27, 2021. It is now read-only.

Commit 7e4eb19

Browse files
committed
💡 More debugging output
1 parent 8e2e011 commit 7e4eb19

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

entrypoint.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@ git config --global user.name "Node Code Formatter"
2121

2222
echo "## Your environment is not ready yet. Installing modules..."
2323
if [ -f yarn.lock ]; then
24+
echo "## Detected yarn as package manager"
2425
yarn --non-interactive --silent --ignore-scripts --production=false
2526
echo "## Installing dependencies..."
2627
yarn install
2728
echo "## Linting code..."
2829
yarn run lint
2930
else
31+
echo "## Detected NPM as package manager"
3032
echo "## Setting environment variables..."
3133
NODE_ENV=development
3234
echo "## Installing dependencies..."
@@ -42,5 +44,5 @@ echo "## Staging changes..."
4244
git add .
4345
echo "## Commiting files..."
4446
git commit -m "Formatted code" || true
45-
echo "## Pushing"
47+
echo "## Pushing to $BRANCH"
4648
git push -u origin $BRANCH

0 commit comments

Comments
 (0)