Skip to content

Fixes command line issues

Jonathan Watson requested to merge fixes into main

Fixes 2 issues:

  • If a file destination with no extension is used, a rogue "." is added to the end of the url upload path (this is only visible when a custom template is used at command line time because otherwise the destination is not templated, it is pre-replaced, see below)
  • If a dirname is specified on command line it is ignored because the URL template passed in if none is specified has had {{.File.Path}} pre-replaced with the dst
Edited by Jonathan Watson

Merge request reports