Skip to content

Commit 28a22ef

Browse files
Do not update the JB tool, just restore them
1 parent b3a4da3 commit 28a22ef

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

entrypoint.sh

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,14 @@ while [[ $S ]]; do
7979
S=${S#*"$ARG_DELIMITER"}
8080
done
8181

82+
echo ""
83+
echo "--- --- ---"
84+
echo "Restore .NET tool (the JetBrains.ReSharper.GlobalTools)"
85+
echo "--- --- ---"
86+
echo ""
87+
88+
dotnet tool restore
89+
8290
echo ""
8391
echo "--- --- ---"
8492
echo "Let's get started, keep calm and wait, it may take few moments"
@@ -88,9 +96,7 @@ done
8896
echo "--- --- ---"
8997
echo ""
9098

91-
dotnet tool restore
92-
dotnet tool update --global JetBrains.ReSharper.GlobalTools
93-
jb cleanupcode "${COMMAND_ARG_ARRAY[@]}" "${INPUT_SOLUTION}"
99+
dotnet jb cleanupcode "${COMMAND_ARG_ARRAY[@]}" "${INPUT_SOLUTION}"
94100

95101
REFORMATTED_FILES=$(git diff --name-only)
96102

0 commit comments

Comments
 (0)