Skip to content

Commit c871d1a

Browse files
committed
chore: auto format code
1 parent d9facc3 commit c871d1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mole

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ update_mole() {
345345

346346
if ! printf '%s\n' "$output" | grep -Eq "Updated to latest version|Already on latest version"; then
347347
local new_version
348-
new_version=$("$mole_path" --version 2>/dev/null | awk 'NR==1 && NF {print $NF}' || echo "")
348+
new_version=$("$mole_path" --version 2> /dev/null | awk 'NR==1 && NF {print $NF}' || echo "")
349349
printf '\n%s\n\n' "${GREEN}${ICON_SUCCESS}${NC} Updated to latest version (${new_version:-unknown})"
350350
else
351351
printf '\n'

0 commit comments

Comments
 (0)