From 02df98326d3b74a2fde2421274499a25c08bf5e0 Mon Sep 17 00:00:00 2001 From: Volker Schukai <volker.schukai@schukai.com> Date: Fri, 1 Jul 2022 15:10:00 +0200 Subject: [PATCH] chore: commit save point --- application/source/commandline.go | 5 +++++ release.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/application/source/commandline.go b/application/source/commandline.go index 35b5366..2bd618c 100644 --- a/application/source/commandline.go +++ b/application/source/commandline.go @@ -28,6 +28,11 @@ func executeCommand() { config.Path = arguments.Path } + arguments.Path, err = filepath.Abs(arguments.Path) + if err != nil { + printErrorAndExit(2, "Unknown Error", err.Error()) + } + if arguments.DateFormat != "" { config.Locale.DateFormat = arguments.DateFormat } diff --git a/release.json b/release.json index 4e38767..331eef0 100644 --- a/release.json +++ b/release.json @@ -1,3 +1,3 @@ { - "version": "1.0.35" + "version": "1.0.36" } \ No newline at end of file -- GitLab