You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/dynamic-plugins/rhdh-supported-plugins.sh
+4-2
Original file line number
Diff line number
Diff line change
@@ -169,7 +169,9 @@ for j in $jsons; do
169
169
Version=$VersionJQ
170
170
if [[ $match ]];then
171
171
Version=$(echo "${match}"| sed -r -e "s/.+\": \"([0-9.]+)\"/\1/")
172
-
echo"[WARN] !! Using $pluginVersFile version = $Version, not $VersionJQ from $Path"| tee -a /tmp/warnings.txt
172
+
if [[ "$Version"!="$VersionJQ" ]];then
173
+
echo"[WARN] !! Using $pluginVersFile version = $Version, not $VersionJQ from $Path"| tee -a /tmp/warnings.txt
174
+
fi
173
175
fi
174
176
175
177
# check if there's a newer version at npmjs.com and warn if so
@@ -184,7 +186,7 @@ for j in $jsons; do
184
186
echo"[DEBUG] Latest x.y version at https://registry.npmjs.org/${Plugin/\//%2f} : $latestXYRelease"
185
187
if [[ "$latestXYRelease"!="$Version" ]];then
186
188
echo"[WARN] !! Newer $latestXYRelease > $Version - should upgrade to https://www.npmjs.com/package/$Plugin/v/$latestXYRelease !!"| tee -a /tmp/warnings.txt
187
-
echo| tee -a /tmp/warnings.txt
189
+
#echo | tee -a /tmp/warnings.txt
188
190
fi
189
191
190
192
# default to community unless it's a RH-authored plugin
0 commit comments