Unverified Commit d6bcd327 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

fix: Remove unnecessary operation (#962)

parent 06f83bb6
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -5,7 +5,6 @@ getBase() {

  local base="${1%%\?*}"
  base=$(basename "$base")
  base="${base//+/ }"
  printf -v base '%b' "${base//%/\\x}"
  base="${base//[!A-Za-z0-9._-]/_}"