Skip to content

fix creation of SG Home

Administrator requested to merge wbezuide/sg-folder-fix into main

Created by: burmudar

filepath.Dir(path) returned the users home directory and not $HOME/.sourcegraph ... so MkdirAll was a noop since the home directory existed. Removed the filepath.Dir 😄

Closes https://github.com/sourcegraph/sourcegraph/issues/35355

Test plan

Added Unit test

Merge request reports

Loading