diff --git a/README.md b/README.md index 60ae8b257cfff31314ef10a35f99b49ecb550e9d..91801ce1bad4da534bf13dad51294dbe415a9b70 100644 --- a/README.md +++ b/README.md @@ -325,5 +325,7 @@ Individual LaTeX commands can be looked up here: ## Change Log -- Version 1.0.25 (20220622174620) - - Added support for `gitlab sync` command \ No newline at end of file +- Version 1.0 + - Bug fixes + - Added support for `gitlab sync` command + - initial release \ No newline at end of file diff --git a/application/source/files.go b/application/source/files.go index 5e8d6dc2bf06b336c0c74154fd9063e70221272b..d17a1327cf7caa375182eba0df1e10e85db39167 100644 --- a/application/source/files.go +++ b/application/source/files.go @@ -14,13 +14,11 @@ import ( // func collectStructureFromFiles(directory string) (error, map[string]*requirement) { - cleanedDirectory := path.Clean(directory) + cleanedDirectory, err := filepath.Abs(path.Clean(directory)) pageMap := make(map[string]*requirement) - //pageMap := []requirement{} - - err := filepath.Walk(cleanedDirectory, + err = filepath.Walk(cleanedDirectory, func(current string, info os.FileInfo, err error) error { if err != nil { return err @@ -47,7 +45,6 @@ func collectStructureFromFiles(directory string) (error, map[string]*requirement if err != nil { printWarning("the file contains structural errors. check the YAML and if necessary the template.", cleanedPath, err) - return nil } bd := []byte(cleanedDirectory) diff --git a/release.json b/release.json index f6287d8b81220aec451929661c1b327d6bd91073..4e387676f2402ba793d1106a3a3a0e09854a1893 100644 --- a/release.json +++ b/release.json @@ -1,3 +1,3 @@ { - "version": "1.0.34" + "version": "1.0.35" } \ No newline at end of file