Hexylena's Project Management Tool

โœ… Handle missing projects dir

Metadata
Key Value
๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Parents
๐Ÿšฆ Status completed
๐Ÿ‘ค assignee hexylena
๐Ÿ‘ค Author hexylena
Created 2024-07-31 12:57:59
Modified 2024-08-07 10:49:37

Contents

time=2024-07-31T12:57:21.705Z level=INFO msg=LoadNotes pm.mod=adapterpanic: runtime error:
time=2024-07-31T12:57:21.705Z level=INFO msg=LoadNotes pm.mod=adapter
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xe90386]
goroutine 1 [running]:
github.com/hexylena/pm/adapter.(*FsAdapter).filePathWalkDir.func1({0x1071655, 0xa}, {0x0?, 0x0?}, {0x0?, 0x0?})
	/home/runner/work/project-management/project-management/adapter/fs.go:18 +0x26
path/filepath.Walk({0x1071655, 0xa}, 0xc000601d60)
	/opt/hostedtoolcache/go/1.21.12/x64/src/path/filepath/path.go:570 +0x4a
github.com/hexylena/pm/adapter.(*FsAdapter).filePathWalkDir(0xc00019f130?, {0x1071655?, 0x1c39400?})
	/home/runner/work/project-management/project-management/adapter/fs.go:17 +0x4e
github.com/hexylena/pm/adapter.(*FsAdapter).LoadNotes(0xc00019e2f0, {0xc0003e62a0})
	/home/runner/work/project-management/project-management/adapter/fs.go:30 +0x79
main.main()
	/home/runner/work/project-management/project-management/main.go:70 +0x48a