Skip to content

Commit

Permalink
Merge pull request #137 from gaurav-nelson/debug-list
Browse files Browse the repository at this point in the history
List installed node module versions
  • Loading branch information
gaurav-nelson authored May 4, 2022
2 parents 5c5dfc0 + bf74c35 commit 228fbf4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ BLUE='\033[0;34m'
RED='\033[0;31m'

npm i -g [email protected]
echo "::group::Debug information"
npm -g list --depth=1
echo "::endgroup::"

declare -a FIND_CALL
declare -a COMMAND_DIRS COMMAND_FILES
Expand Down Expand Up @@ -155,9 +158,9 @@ fi
if [ "$CHECK_MODIFIED_FILES" = "yes" ]; then

echo -e "${BLUE}BASE_BRANCH: $7${NC}"

git config --global --add safe.directory $(pwd)

git fetch origin "${BASE_BRANCH}" --depth=1 > /dev/null
MASTER_HASH=$(git rev-parse origin/"${BASE_BRANCH}")

Expand All @@ -178,7 +181,7 @@ if [ "$CHECK_MODIFIED_FILES" = "yes" ]; then
done

check_additional_files

check_errors

else
Expand Down

0 comments on commit 228fbf4

Please sign in to comment.