We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32ee1b4 commit 8fb9a2aCopy full SHA for 8fb9a2a
1 file changed
melting-pot.sh
@@ -290,7 +290,8 @@ xpath() {
290
xpath="$xpath/*[local-name()='$1']"
291
shift
292
done
293
- xmllint --xpath "$xpath" "$xmlFile" | sed -E 's/^[^>]*>(.*)<[^<]*$/\1/'
+ xmllint --xpath "$xpath" "$xmlFile" 2> /dev/null |
294
+ sed -E 's/^[^>]*>(.*)<[^<]*$/\1/'
295
}
296
297
# For the given GAV ($1), recursively gets the value of the
0 commit comments