Skip to content
Snippets Groups Projects
Verified Commit 7204b59e authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

chore: commit save point

parent 71344ee9
No related branches found
No related tags found
No related merge requests found
...@@ -325,5 +325,7 @@ Individual LaTeX commands can be looked up here: ...@@ -325,5 +325,7 @@ Individual LaTeX commands can be looked up here:
## Change Log ## Change Log
- Version 1.0.25 (20220622174620) - Version 1.0
- Added support for `gitlab sync` command - Bug fixes
\ No newline at end of file - Added support for `gitlab sync` command
- initial release
\ No newline at end of file
...@@ -14,13 +14,11 @@ import ( ...@@ -14,13 +14,11 @@ import (
// //
func collectStructureFromFiles(directory string) (error, map[string]*requirement) { 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 := make(map[string]*requirement)
//pageMap := []requirement{} err = filepath.Walk(cleanedDirectory,
err := filepath.Walk(cleanedDirectory,
func(current string, info os.FileInfo, err error) error { func(current string, info os.FileInfo, err error) error {
if err != nil { if err != nil {
return err return err
...@@ -47,7 +45,6 @@ func collectStructureFromFiles(directory string) (error, map[string]*requirement ...@@ -47,7 +45,6 @@ func collectStructureFromFiles(directory string) (error, map[string]*requirement
if err != nil { if err != nil {
printWarning("the file contains structural errors. check the YAML and if necessary the template.", cleanedPath, err) printWarning("the file contains structural errors. check the YAML and if necessary the template.", cleanedPath, err)
return nil
} }
bd := []byte(cleanedDirectory) bd := []byte(cleanedDirectory)
......
{ {
"version": "1.0.34" "version": "1.0.35"
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment